You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dean Pullen <de...@msp-uk.com> on 2007/10/11 15:31:51 UTC

Localized text in a tooltip

What's the best way to get localized text in a tooltip?

 

<s:select list="countries"

 
listKey="key"

 
listValue="value.countryName"

 
multiple="true"

 
required="true"

 
value="%{myCountry}"

 
theme="simple"

 
tooltip="loclaized.tooltip.here"

                                />

 

Cheers.


RE: Localized text in a tooltip

Posted by Dean Pullen <de...@msp-uk.com>.
Thanks Julien.

-----Original Message-----
From: Julien Leonard [mailto:julien.leonard@consulting-for.accor.com] 
Sent: 11 October 2007 14:38
To: 'Struts Users Mailing List'
Subject: RE: Localized text in a tooltip

Hello,

I think that you can try :

<s:select list="countries" listKey="key" listValue="value.countryName"
multiple="true"
required="true" value="%{myCountry}" theme="simple"
tooltip="%{getText('loclaized.tooltip.here')}" /> 


Julien
-----Message d'origine-----
De : Dean Pullen [mailto:dean.pullen@msp-uk.com] 
Envoyé : jeudi 11 octobre 2007 15:32
À : Struts Users Mailing List
Objet : Localized text in a tooltip

What's the best way to get localized text in a tooltip?

 

<s:select list="countries"

 
listKey="key"

 
listValue="value.countryName"

 
multiple="true"

 
required="true"

 
value="%{myCountry}"

 
theme="simple"

 
tooltip="loclaized.tooltip.here"

                                />

 

Cheers.




This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
--------------------------------------------------------------------------------------------------------------
Ce message électronique et tous les fichiers joints ainsi que  les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites.
-------------------------------------------------------------------------------------------------------------


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


Scanned by MailDefender - managed email security from intY - www.maildefender.net

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


RE: Localized text in a tooltip

Posted by Julien Leonard <ju...@consulting-for.accor.com>.
Hello,

I think that you can try :

<s:select list="countries" listKey="key" listValue="value.countryName"
multiple="true"
required="true" value="%{myCountry}" theme="simple"
tooltip="%{getText('loclaized.tooltip.here')}" /> 


Julien
-----Message d'origine-----
De : Dean Pullen [mailto:dean.pullen@msp-uk.com] 
Envoyé : jeudi 11 octobre 2007 15:32
À : Struts Users Mailing List
Objet : Localized text in a tooltip

What's the best way to get localized text in a tooltip?

 

<s:select list="countries"

 
listKey="key"

 
listValue="value.countryName"

 
multiple="true"

 
required="true"

 
value="%{myCountry}"

 
theme="simple"

 
tooltip="loclaized.tooltip.here"

                                />

 

Cheers.




This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
--------------------------------------------------------------------------------------------------------------
Ce message électronique et tous les fichiers joints ainsi que  les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites.
-------------------------------------------------------------------------------------------------------------


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