Hi,

Let me summarize all the thread again: EnterOffer page -> EnterOfferConfirmation page -> OwnOffer page. All those transitions are done through the Submit component and those access methods.
Sample of the transition EnterOfferConfirmation -> OwnOffer:
class EnterOfferConfirmation {
confirmOffer(RequestCycle cycle) {
OwnOffer ownOffer = (OwnOffer) cycle.getPage("OwnOffer");
cycle.activate(ownOffer); OR throw new PageRedirectException(ownOffer);
}
}


When I click on the reload browser button (AND in both cases, activation or redirect exception), my method is executed again entering a new offer in the system again (very very bad stuff!).

How should I then implement it?
What is the usage of the Submit button if each time I click on reload, the previous page is "re-submitted"?


Thanks.
David



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to