struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashuin Sharma Chamorro" <asha...@IsthmusIT.com>
Subject RE: is there a way to disable the html:submit after pressed
Date Tue, 10 Apr 2007 21:24:02 GMT
Yes struts the old one 1.2.9
So with javascript it should be like implementing a function on the 
<html:submit value="Submit" styleid="button"
onclick="document.button.enabled=false" />

 something like that?


What is that valid token stud built into struts?? Can you sen me a
link???


-----Original Message-----
From: Dave Newton [mailto:newton.dave@yahoo.com] 
Sent: Tuesday, April 10, 2007 3:14 PM
To: Struts Users Mailing List
Subject: Re: is there a way to disable the html:submit after pressed

--- Ashuin Sharma Chamorro wrote:
> I don't want to let the user press the submit button
> more than once?? Is there a property for that, or 
> what can I do?????

Struts 1?

You can use the valid token stuff built in to Struts
and/or you can use JavaScript to remove/disable/etc.
the button. I don't know if there's a way to do that
without the JavaScript (it's like a one-line function
anyway).

d.



 
________________________________________________________________________
____________
The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message