RE: disable submit button

2007-07-05 Thread Hoying, Ken
I believe this was a bug that was fixed in Struts 2.0.8. If you are using a version prior to that, then I do not believe that the attribute is working properly. -Original Message- From: banurekha [mailto:[EMAIL PROTECTED] Sent: Thursday, July 05, 2007 12:56 PM To: user@struts.apache.org

Re: Disable submit button

2006-05-31 Thread rukka
Thanks for the tip. rukka Frank W. Zammetti wrote: As previously mentioned, you'll probably want to use the onSubmit handler of the form itself. But, whether you do that or not, try adding "return true;" to the end of your handler code... I'm not sure what every browser will do by default,

Re: Disable submit button

2006-05-31 Thread Frank W. Zammetti
es button. but does not submit action to the server. May be I am missing something?? thanks rukka - Original Message - From: Jorge Mart�n Cuervo <[EMAIL PROTECTED]> Date: Wednesday, May 31, 2006 9:19 am Subject: Re: Disable submit button this works well PD: i've tested in f

Re: Disable submit button

2006-05-31 Thread Jorge Martín Cuervo
quot;this.disabled=true;submit()" > > rukka > > > - Original Message - > From: Gareth Evans <[EMAIL PROTECTED]> > Date: Wednesday, May 31, 2006 11:02 am > Subject: Re: Disable submit button > > > Hi, > > > > I use the following s

Re: Disable submit button

2006-05-31 Thread A Amarakoon
Gareth, Monkeyden, Jorge, Andy Thank you.. This js lib looks good. this code fixes it: onclick="this.disabled=true;submit()" rukka - Original Message - From: Gareth Evans <[EMAIL PROTECTED]> Date: Wednesday, May 31, 2006 11:02 am Subject: Re: Disable submit button

Re: Disable submit button

2006-05-31 Thread Gareth Evans
tton it disables button. but does not submit action to the server. May be I am missing something?? thanks rukka - Original Message - From: Jorge Mart�n Cuervo <[EMAIL PROTECTED]> Date: Wednesday, May 31, 2006 9:19 am Subject: Re: Disable submit button this works well PD: i'v

Re: Disable submit button

2006-05-31 Thread Monkeyden
server. May be I am missing something?? thanks rukka - Original Message - From: Jorge Mart�n Cuervo <[EMAIL PROTECTED]> Date: Wednesday, May 31, 2006 9:19 am Subject: Re: Disable submit button > > > this works well > > > PD: i've tested in firefox > > El

Re: Disable submit button

2006-05-31 Thread A Amarakoon
May 31, 2006 9:19 am Subject: Re: Disable submit button > > > this works well > > > PD: i've tested in firefox > > El mi�, 31 de 05 de 2006 a las 16:36, rukka escribi�: > > > As a part of solution to multiple reloads and to block the > multiple &g

Re: Disable submit button

2006-05-31 Thread Jorge Martín Cuervo
this works well PD: i've tested in firefox El mié, 31 de 05 de 2006 a las 16:36, rukka escribió: > As a part of solution to multiple reloads and to block the multiple > submit requests in long running service layer methods, we like to > disable submit button once user hit that once. Does ht

RE: Disable submit button

2006-05-31 Thread Miller, Andy
You should attach the event to the form and not the button. If the user clicks the enter key on the keyboard and you have used an "onClick" event, then the event will not fire if the user hits enter. Andy Miller IS Designer Butte College 530.895.2946 -Original Message- From: rukka [mailto

Re: Disable submit button

2006-05-31 Thread Jorge Martín Cuervo
i've not tested but i think it should work: El mié, 31 de 05 de 2006 a las 16:36, rukka escribió: > As a part of solution to multiple reloads and to block the multiple > submit requests in long running service layer methods, we like to > disable submit button once user hit that once. Does h