I think you should remove the "value" attribute.

<html:submit>
    <bean:message key="extern.add.submitmessage"/>
</html:submit>

Jean-No�l

----- Original Message -----
From: Mark Schenk <[EMAIL PROTECTED]>
To: Struts-User <[EMAIL PROTECTED]>
Sent: Friday, June 15, 2001 12:56 PM
Subject: i18n a submit button


> Can anyone tell me how I can internationalize the text on a submit button?
> i tried the obvious:
>
> <html:submit value="Submit">
> <bean:message key="extern.add.submitmessage"/>
> </html:submit>
>
> But this always result in 'Submit' being the text, and not the value from
> my message bean...
>
> ----------------------------------------------------------------------------
> Mark Schenk                     | Ceci n'est pas une signature
> Blackboard Project Manager      |
> Delft University of Technology  |E-mail: [EMAIL PROTECTED]
> Dept.: DTO                      |Phone:  +31 152785448 (85448)
> Room: LB00.680                  |Fax: +31 152786359
> ----------------------------------------------------------------------------
> -
>
>

Reply via email to