Mark,
You can nest an resource string inside a submit button, like so:

<html:submit>
  <bean:message key="submit.button"/>
</html:submit>

-Dan

On Wednesday 24 October 2001 19:59, you wrote:
> Has anyone come up with a cool way to internationalize a submit button
> using the <html:submit> tag?
>
> <html:submit property="xmit"
> value="<%=org.apache.struts.util.RequestUtils.message(pageContext,
> org.apache.struts.action.Action.MESSAGES_KEY,
> org.apache.struts.action.Action.LOCALE_KEY,"button.save")%>"
> styleClass="formField"/>
>
>
> I was thinking about extending the html:submit tag to include an
> attribute   valueKey  and have that  set the value.
>
>
> -Mark

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to