Hi thanks for that hint,
i needed to change it a bit until it worked:
<html:hidden property="command"/>
<html:submit onclick="getElementById('command').value='CH';return
true">Change</html:submit>
<html:submit onclick="getElementById('command').value='DI';return
true">Display</html:submit>
thanks alot!
Filip
> -----Original Message-----
> From: Matthews, Brian [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 24, 2003 12:51 PM
> To: 'Struts Users Mailing List'
> Subject: RE: submit buttons
>
>
> 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]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]