You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Zoltan Vekony <Zo...@web.de> on 2004/10/05 10:53:56 UTC

Internationalize Submit Button

Hi,

I would like build a Struts-form like this:

...
<html:form action="/search">

<table width="100%">

<tr><td>
<bean:message key="search.for" /><html:text property="text" titleKey="search.for.title" />
</td></tr>

<tr><td>
<html:submit value="Search" />
</td></tr>
</table>

</html:form>

I have the following entries in properties file:
search.for=Search for:
search.for.title=Search for book title

Question:
Is is possible to setup the submit button like: valueKey="search.submit" (analogous title/titleKey) to have i18n facility?

Thanks
Zoltan

__________________________________________________________
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org