You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Lisa van Gelder <li...@digitalrum.com> on 2002/07/08 11:55:28 UTC

i18n on html:submit tag

Hi all

Can anybody tell me how to use i18n with a html:submit tag, so the value of
the input is internationalised?

It should be a simple thing, but I can't find an attribute in the tag
reference that will let me do it. "value" isn't internationalised, and
"titleKey" just gives it a title.

The workaround is to do <input type="submit" value="<bean:message
key="my.key"/>"> but this is kind of messy.

Am I missing something?

Lisa