You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by banurekha <ba...@gmail.com> on 2007/07/05 18:56:28 UTC

disable submit button

I would like to know how to disable submit button when using AJAX theme.
below is the code I am using

  	<s:submit type="submit" 
   			disabled = "true"
             theme="ajax" 
             value="Save" 
             title="Save all changes."
             cssClass="mediumBtn"
             href="%{saveLink}"
             notifyTopics="/saveTopic"
             formId="techdifficultyForm"
             indicator="saveIndicator"/>

But it does not seems to work... Could anyone help me on this
-- 
View this message in context: http://www.nabble.com/disable-submit-button-tf4030977.html#a11450471
Sent from the Struts - User mailing list archive at Nabble.com.


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


RE: disable submit button

Posted by "Hoying, Ken" <Ke...@PremierInc.com>.
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:banurekha.l@gmail.com] 
Sent: Thursday, July 05, 2007 12:56 PM
To: user@struts.apache.org
Subject: disable submit button


I would like to know how to disable submit button when using AJAX theme.
below is the code I am using

  	<s:submit type="submit" 
   			disabled = "true"
             theme="ajax" 
             value="Save" 
             title="Save all changes."
             cssClass="mediumBtn"
             href="%{saveLink}"
             notifyTopics="/saveTopic"
             formId="techdifficultyForm"
             indicator="saveIndicator"/>

But it does not seems to work... Could anyone help me on this
--
View this message in context:
http://www.nabble.com/disable-submit-button-tf4030977.html#a11450471
Sent from the Struts - User mailing list archive at Nabble.com.


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


-----------------------------------------
***Note:The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify the Sender
immediately by replying to the message and deleting it from your
computer. Thank you. Premier Inc.  

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