This will work ..

<html:submit property="action" 
value="<bean:message key="search.button.reset" />" >
</html:submit>



-----Original Message-----
From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 07, 2003 5:29 PM
To: Struts Users Mailing List
Subject: Button labels and DispatchActions mix?

Hello people,

I have the following code :

 <html:submit property="action" value="resetg" >
     <bean:message key="search.button.reset" />
 </html:submit>

What I am trying to do is have a Dispatch Action 
so that when this button is pressed the request is something like
search.do?action=resetg
But I don't want my button to have the resetg title on it. I want it to
have the search.button.reset title from ApplicationResources bundle 
on it. It seems tha Struts html tag library mixes the two. Is there a
way out of this?


Thanks....

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



*----------
This message and any attachment(s) is intended only for the use of the addressee(s) 
and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the 
intended addressee(s), you are hereby notified that any use, distribution, disclosure 
or copying of this communication is strictly prohibited. If you have received this 
communication in error, please erase all copies of the message and its attachment(s) 
and notify the sender or Kanbay postmaster immediately.

Any views expressed in this message are those of the individual sender and not of 
Kanbay.

Although we have taken steps to ensure that this e-mail and any attachment(s) are free 
from any virus, we advise that in keeping with good computing practice the recipient 
should ensure they are actually virus free.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to