I am using struts and i can use key defined in applicationResources.property with <bean:message key="mykey" />
when i use <column property="mycol" titleKey="mykey" />, i don't see the definition on my key but only "mykey"
what's wrong ?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Could you write more precisely??
I have two resource bundle for now my "applicationResources_PL.properties" that i use in my struts app, and "displaytag_PL.properties". Application uses "applicationResources_PL" as well as for example my paging banner does with "displaytag_PL". But when it comes to titleKey it just ignores my key and displays capitalised name of column. What else sholud i do??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using struts and i can use key defined in applicationResources.property with <bean:message key="mykey" />
when i use <column property="mycol" titleKey="mykey" />, i don't see the definition on my key but only "mykey"
what's wrong ?
Thanks
You need to configure the tag to lookup Struts' ResourceBundle or configure a JSTL ResourceBundle in web.xml.
http://displaytag.sourceforge.net/i18n.html
Could you write more precisely??
I have two resource bundle for now my "applicationResources_PL.properties" that i use in my struts app, and "displaytag_PL.properties". Application uses "applicationResources_PL" as well as for example my paging banner does with "displaytag_PL". But when it comes to titleKey it just ignores my key and displays capitalised name of column. What else sholud i do??