Reputation: 101
I am working on a display table version 1.2 on Struts 2 application. I am having problem with fetching value for "titleKey" in my diplay table column.
<display:column titleKey="title.key" >
I am kinda sure that I do not have configuration problem. I tried fetching the same value outside the table as :
<s:text name="title.key"/>
I am successful in doing that.
What could be the issue?
Upvotes: 1
Views: 1215
Reputation: 160281
I don't know of any reason why DisplayTag would know about the S2 I18N mechanisms.
Either use DisplayTag's I18N support or by not using keys (e.g., the "title"
attribute) and using values exposed by normal S2 mechanisms.
Upvotes: 1