Re: force client to use GET method

2008-11-10 Thread Piller Sébastien
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.

Re: force client to use GET method

2008-11-10 Thread Jeremy Thomerson
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

Re: force client to use GET method

2008-11-10 Thread eyalbenamram
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

Re: force client to use GET method

2008-11-10 Thread Jeremy Thomerson
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

Re: force client to use GET method

2008-11-10 Thread Piller Sébastien
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,

Re: force client to use GET method

2008-11-10 Thread Igor Vaynberg
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

Re: force client to use GET method

2008-11-10 Thread eyalbenamram
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