How about something along the lines of:

<html:hidden property="command"/>
<html:submit onclick="this.command='CH';return true">Change</html:submit>

Brian

-----Original Message-----
From: Filip Polsakiewicz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 11:55 AM
To: Struts Users Mailinglist
Subject: submit buttons


Hi,
i have the following problem:

i need a submit button that sets the command-property of my formbean to CH
(Change) but the button's label should be: Change
I tried

<html:submit property="command" value="CH">Change</html:submit>
<html:submit property="command" value="CH" titleKey="submit.label"/>

does not work. Any suggestions?

Filip Polsakiewicz


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

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

Reply via email to