Menu

use titlekey

Help
2004-11-24
2012-10-08
  • Richard Tuquet Laburre

    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

     
    • Matt Raible

      Matt Raible - 2004-11-27

      You need to configure the tag to lookup Struts' ResourceBundle or configure a JSTL ResourceBundle in web.xml.

      http://displaytag.sourceforge.net/i18n.html

       
    • Al Capone KRC

      Al Capone KRC - 2005-04-27

      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??

       

Log in to post a comment.

MongoDB Logo MongoDB