write it in html?
form wicket:id=foo method=GET...
eyalbenamram a écrit :
Hi
How do I tell the client to use a GET method instead of POST?
The problem is, the client is sending the form from a previous page
in a POST request, causing a double submission.
Or the method described here:
http://www.nabble.com/form-GET-calling-onSubmit-td19824816.html
--
Jeremy Thomerson
http://www.wickettraining.com
On Mon, Nov 10, 2008 at 8:38 AM, Piller Sébastien [EMAIL PROTECTED]wrote:
write it in html?
form wicket:id=foo method=GET...
eyalbenamram a
Ok.. that didn't stop the client from submitting the form of the previous
page again.
Any other solutions to preventing double submissions?
Pills wrote:
write it in html?
form wicket:id=foo method=GET...
eyalbenamram a écrit :
Hi
How do I tell the client to use a GET method instead
Can you give more details on what you mean by submitting the form of the
previous page again?
Is this:
1 - the user is clicking the submit button, and then clicking again before
the page every changes?
2 - the form is being submitted, and the user is doing refresh / etc / to
resubmit?
Number two
store a flag in the form that change to true when the form is submitted.
then, in onsubmit, check if(myflag) { return;}
should work... ugly but should work
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
why did you start another thread about this? please dont spawn more
then one thread for the same problem.
-igor
On Mon, Nov 10, 2008 at 6:27 AM, eyalbenamram [EMAIL PROTECTED] wrote:
Hi
How do I tell the client to use a GET method instead of POST?
The problem is, the client is sending the
Sorry, this seemed like two different ways that may solve the same problem.
anyway, problem solved. Thanks for your great support!
igor.vaynberg wrote:
why did you start another thread about this? please dont spawn more
then one thread for the same problem.
-igor
On Mon, Nov 10, 2008