Thanks, it works of course :)

-----Message d'origine-----
De : Greg Lindholm [mailto:greg.lindh...@gmail.com] 
Envoyé : mardi 27 octobre 2009 14:42
À : Struts Users Mailing List
Objet : Re: [Struts 2] Dynamic content of a tooltip for internationalization

<s:textfield name="blabla"   key="pay.blabla"
   tooltip="%{getText('blabla.tooltip')}"/>


On Tue, Oct 27, 2009 at 8:16 AM, Fernandes Celinio < cfernan...@sopragroup.com> 
wrote:

> Hi,
>
> How do you render the content of a tooltip dynamic ?
> I am using several messages_XX.properties files, one for each language.
>
> In each properties file, I have defined the key blabla.tooltip.
>
> For instance in messages_en.properties:
> blabla.tooltip=Pay before the end of the term.
>
> In messages_fr.properties:
> blabla.tooltip=Payez avant la fin du contrat.
>
>        <s:textfield name="blabla"   key="pay.blabla"  tooltip="Pay
> before the end of the term."/>
>
> Question : how do i affect the content of my key blabla.tooltip to the 
> content of tooltip ?
>
> Thanks for helping.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

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

Reply via email to