Re: Double submit problem

2008-03-25 Thread laz
that SEEMS to be working. It incorporates our solution to the double submit problem that we used on our JSP's. It didn't appear to be working for me at first, but seems to be now. (It does use the old servlet request/session objects, but this may change once all our old code is upgraded to wicket

Re: Double submit problem

2008-03-25 Thread Maurice Marrink
The one missing piece from your solution is synchronization. There is the slightest possibility that the second submit of a double submit could enter onSubmit before the token is reset. I am not yet sure what would be the best object to synchronize on, possibly the session id? Actually

Re: Double submit problem

2008-03-25 Thread Johan Compagner
. It incorporates our solution to the double submit problem that we used on our JSP's. It didn't appear to be working for me at first, but seems to be now. (It does use the old servlet request/session objects, but this may change once all our old code is upgraded to wicket

RE: Double submit problem

2008-03-25 Thread Zappaterrini, Larry
Sorry, I should have attributed that code to Joel. -Original Message- From: Zappaterrini, Larry [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2008 10:56 AM To: users@wicket.apache.org Subject: RE: Double submit problem I don't have a patch, at this point I was just testing

Re: Double submit problem

2008-03-25 Thread James Carman
be the best object to synchronize on, possibly the session id? hillj2 wrote: Here's a solution that SEEMS to be working. It incorporates our solution to the double submit problem that we used on our JSP's. It didn't appear to be working for me at first, but seems

Re: Double submit problem

2008-03-25 Thread Johan Compagner
onSubmit before the token is reset. I am not yet sure what would be the best object to synchronize on, possibly the session id? hillj2 wrote: Here's a solution that SEEMS to be working. It incorporates our solution to the double submit problem that we used

Re: Double submit problem

2008-03-25 Thread James Carman
sure what would be the best object to synchronize on, possibly the session id? hillj2 wrote: Here's a solution that SEEMS to be working. It incorporates our solution to the double submit problem that we used on our JSP's. It didn't

Re: Double submit problem

2008-03-25 Thread Igor Vaynberg
to the double submit problem that we used on our JSP's. It didn't appear to be working for me at first, but seems to be now. (It does use the old servlet request/session objects, but this may change once all our old code is upgraded to wicket

Re: Double submit problem

2008-03-25 Thread James Carman
to be working. It incorporates our solution to the double submit problem that we used on our JSP's. It didn't appear to be working for me at first, but seems to be now. (It does use the old servlet request/session objects

Re: Double submit problem

2008-03-25 Thread Johan Compagner
to the double submit problem that we used on our JSP's. It didn't appear to be working for me at first, but seems to be now. (It does use the old servlet request/session objects, but this may change once all our old code

Re: Double submit problem

2008-03-25 Thread James Carman
. It incorporates our solution to the double submit problem that we used on our JSP's. It didn't appear to be working for me at first, but seems to be now. (It does use the old servlet request/session

Re: Double submit problem

2008-03-25 Thread Johan Compagner
on, possibly the session id? hillj2 wrote: Here's a solution that SEEMS to be working. It incorporates our solution to the double submit problem that we used on our JSP's. It didn't

Re: Double submit problem

2008-03-25 Thread James Carman
: Here's a solution that SEEMS to be working. It incorporates our solution to the double submit problem that we used on our JSP's. It didn't appear to be working for me at first, but seems to be now

Re: Double submit problem

2008-03-25 Thread Johan Compagner
: Here's a solution that SEEMS to be working. It incorporates our solution to the double submit problem that we used on our JSP's. It didn't appear to be working for me at first, but seems

Re: Double submit problem

2008-03-25 Thread James Carman
On Tue, Mar 25, 2008 at 1:50 PM, Johan Compagner [EMAIL PROTECTED] wrote: I dont think this can be easily done by Behaviors or Validators Only when we make it that a validator can also be a behavior (or provide a behavior) then that would be possible. for now Validatiors cant contribute to

Re: Double submit problem

2008-03-25 Thread Igor Vaynberg
wrote: Here's a solution that SEEMS to be working. It incorporates our solution to the double submit problem that we used on our JSP's. It didn't appear to be working for me at first, but seems to be now. (It does

Re: Double submit problem

2008-03-25 Thread Igor Vaynberg
to the double submit problem that we used on our JSP's. It didn't appear to be working for me at first, but seems to be now. (It does use the old servlet request/session objects, but this may change once all our

Re: Double submit problem

2008-03-17 Thread Matthew Young
Does this stuff here prevent double submit? http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/settings/IRequestCycleSettings.html ...so that not only form submits are shielded from the double submit problem... On Mon, Mar 10, 2008 at 6:56 AM, Joel Hill [EMAIL PROTECTED

Re: Double submit problem

2008-03-17 Thread Igor Vaynberg
://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/settings/IRequestCycleSettings.html ...so that not only form submits are shielded from the double submit problem... On Mon, Mar 10, 2008 at 6:56 AM, Joel Hill [EMAIL PROTECTED] wrote: I'm trying to prevent the double

Re: Double submit problem

2008-03-12 Thread hillj2
Here's a solution that SEEMS to be working. It incorporates our solution to the double submit problem that we used on our JSP's. It didn't appear to be working for me at first, but seems to be now. (It does use the old servlet request/session objects, but this may change once all our old code

Re: Double submit problem

2008-03-11 Thread hillj2
this message in context: http://www.nabble.com/Double-submit-problem-tp15957979p15976496.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Double submit problem

2008-03-11 Thread richardwilko
-- View this message in context: http://www.nabble.com/Double-submit-problem-tp15957979p15976516.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Double submit problem

2008-03-11 Thread rmattler
onclick=saveForm(this); setIsDocBeingSubmitted(true); name=submitButtonName value=Save / -- View this message in context: http://www.nabble.com/Double-submit-problem-tp15957979p15976673.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Double submit problem

2008-03-11 Thread hillj2
(true); name=submitButtonName value=Save / -- View this message in context: http://www.nabble.com/Double-submit-problem-tp15957979p15988774.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e

Re: Double submit problem

2008-03-11 Thread hillj2
: http://www.nabble.com/Double-submit-problem-tp15957979p15988777.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Double submit problem

2008-03-10 Thread Joel Hill
I'm trying to prevent the double submit problem, where the user clicks the submit button more than once causing a double post. I tried implementing the soluion suggested here: http://www.nabble.com/Re%3A-double-form-submission-handling---p13850262.html The problem is if there's a validation

Re: Double submit problem

2008-03-10 Thread Martijn Dashorst
for the second submit). Martijn On 3/10/08, Joel Hill [EMAIL PROTECTED] wrote: I'm trying to prevent the double submit problem, where the user clicks the submit button more than once causing a double post. I tried implementing the soluion suggested here: http://www.nabble.com/Re%3A-double-form