Re: html:cancel question

2005-04-11 Thread Rick Reumann
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

Re: html:cancel question

2005-04-11 Thread Eddie Bush
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

RE: html:cancel question

2005-04-11 Thread Stunger, Kevin J
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

RE: html:cancel question

2005-04-11 Thread Günther Wieser
-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,

html:cancel question

2005-04-11 Thread Derrick Koes
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

Re: Html:cancel question

2005-04-11 Thread Rick Reumann
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'

Html:cancel question

2005-04-11 Thread Derrick Koes
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