Eddie Bush wrote the following on 4/12/2005 12:42 AM:
I personally handle this by having a javascript variable called
"isCancelled" which I initialize to false. The onclick handler for my
cancel button sets it to true. In my validation JavaScript, I check
for this value first thing off the bat.
W
ransaction tokens
> (built into Struts) and a processing/wait page. This keeps users busy
> watching instead of wondering why the page hasn't changed.
>
> --Kevin
>
> -Original Message-
> From: Derrick Koes [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 1
onday, April 11, 2005 1:42 PM
To: [EMAIL PROTECTED]
Subject: html:cancel question
I have a function to disable buttons onsubmit because I don't want the
user to keep clicking, especially for long running actions. However,
this seems to interfere when the button is an html:cancel, which is a
type
-Original Message-
From: Derrick Koes [mailto:[EMAIL PROTECTED]
Sent: Monday, April 11, 2005 10:42 PM
To: [EMAIL PROTECTED]
Subject: html:cancel question
I have a function to disable buttons onsubmit because I don't want the user
to keep clicking, especially for long running actions. However,
I have a function to disable buttons onsubmit because I don't want the user to
keep clicking, especially for long running actions. However, this seems to
interfere when the button is an html:cancel, which is a type of submit. It
seems to ignore the correct behavior of cancelling and attempts t
Rather than try to handle all of this on the client side with
javascript, it might be better and easier to just use the Token approach
to handle duplicate submits. I believe there was an email just today
about this. You can disable the button but the user can still just hit
enter again and you'
I have a function to disable buttons onsubmit because I don't want the user to
keep clicking, especially for long running actions. However, this seems to
interfere when the button is an html:cancel, which is a type of submit. It
seems to ignore the correct behavior of cancelling and attempts
7 matches
Mail list logo