Try this : <s:textfield theme="xhtml" label="" key="categoryName" cssClass="fieldGreen validate-alpha " value="" title="%{getText('category.categoryName')}" id="categoryName"/>
http://struts.apache.org/2.0.11/docs/localization.html Julien -----Message d'origine----- De : VJ22 [mailto:[EMAIL PROTECTED] Envoyé : vendredi 22 février 2008 16:26 À : user@struts.apache.org Objet : For s:textfield tag how to get value for title attribute from resource bundle. For s:textfield tag how to get value for title attribute from resource bundle. I tried using <fmt:message> but seems the struts2 is not recognising this inside the title tag and considering it as plain text. Please let me know if there exists a way to do the same For eg i tried <td width="80%"<s:textfield theme="xhtml" label="" key="categoryName" cssClass="fieldGreen validate-alpha " value="" title="<fmt:message key='category.categoryName'/>" id="categoryName"/> Here category.categoryName is refering to resouce bundle property. -- View this message in context: http://www.nabble.com/For-s%3Atextfield-tag-how-to-get-value-for-title-attribute-from-resource-bundle.-tp15634305p15634305.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, any attachments and the information contained therein ("this message") are confidential and intented 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 electronique et tous les fichiers joints ainsi que les informations contenues dans ce message (ci apres "le message"), sont confidentiels et destines exclusivement a l'usage de la personne a laquelle ils sont adresses. Si vous avez recu ce message par erreur, merci de le renvoyer a son emetteur et de le detruire. Toute diffusion, publication, totale ou partielle ou divulgation sous quelque forme que ce soit non expressement autorisees de ce message, sont interdites. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]