Re: double form submission handling ?

2007-11-20 Thread Johan Compagner
Or is the only way to prevent the double-submit problem to use the REDIRECT_TO_RENDER or REDIRECT_TO_BUFFER options (and therefore require sticky load balancing)? No, you can do whatever you like. Note that redirect-to-render should work in a clustered environment as well, but would

Re: double form submission handling ?

2007-11-20 Thread saenz
ONE_PASS_RENDER is being used]. In both cases, if we subclass Form and hold state to track whether the form has already been submitted once before, we can handle the problem the way Igor suggested previously. Is that correct? -- View this message in context: http://www.nabble.com/double-form-submission

Re: double form submission handling ?

2007-11-20 Thread Eelco Hillenius
Sure. Use custom solutions, like the one Igor suggested. I think I understand -- we can use exactly the same solution to the form re-submit problem in the case of [a back-button navigation followed by a form re-post] to solve the double-submit problem in the case of [a page refresh after a

Re: double form submission handling ?

2007-11-19 Thread saenz
something wicket should prevent. Because that could be valid for that application, a user submit something then sees it made a mistake, presses back, corrects it and submit again.. -- View this message in context: http://www.nabble.com/double-form-submission-handling---tf4829048.html#a13850026

Re: double form submission handling ?

2007-11-19 Thread Igor Vaynberg
this message in context: http://www.nabble.com/double-form-submission-handling---tf4829048.html#a13850026 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: double form submission handling ?

2007-11-19 Thread saenz
prevent. Because that could be valid for that application, a user submit something then sees it made a mistake, presses back, corrects it and submit again.. -- View this message in context: http://www.nabble.com/double-form-submission-handling---tf4829048.html#a13851026 Sent from

Re: double form submission handling ?

2007-11-19 Thread saenz
in this case? Or is the only way to prevent the double-submit problem to use the REDIRECT_TO_RENDER or REDIRECT_TO_BUFFER options (and therefore require sticky load balancing)? -- View this message in context: http://www.nabble.com/double-form-submission-handling---tf4829048.html#a13851209 Sent from

Re: double form submission handling ?

2007-11-19 Thread Eelco Hillenius
Lets say that we wanted to do sophisticated clustering, so we use the ONE_PASS_RENDER option. However, we still want to avoid the double-submit problem. Is it possible? Is there a way the application can prevent it from happening in this case? Sure. Use custom solutions, like the one Igor

Re: double form submission handling ?

2007-11-18 Thread Eelco Hillenius
Yet another question... Does wicket handles double form submission in anyway ? like if the user clicks the back button where the previous page was a result of a form submission, which could result in double form submission..OR otherwise refreshes that page.. Yes, Wicket by default uses the

Re: double form submission handling ?

2007-11-18 Thread Johan Compagner
But a user can click the back button to go to the previous page with the form and submit it again, but that isn't something wicket should prevent. Because that could be valid for that application, a user submit something then sees it made a mistake, presses back, corrects it and submit again..

Re: double form submission handling ?

2007-11-18 Thread Eelco Hillenius
On Nov 18, 2007 2:55 AM, mfs [EMAIL PROTECTED] wrote: Yeah that scenario still makes sense where the user goes to the form page itself, but i was refering to the scenario where the user goes to the page (with the back button) which got shown after form submission, as in that case the browser

Re: double form submission handling ?

2007-11-18 Thread mfs
] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/double-form-submission-handling---tf4829048.html#a13818039 Sent from the Wicket - User mailing list archive at Nabble.com

double form submission handling ?

2007-11-17 Thread mfs
this message in context: http://www.nabble.com/double-form-submission-handling---tf4829048.html#a13816084 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands