[jira] Commented: (DISPL-184) I18nStrutsAdapter does not resolve i18n resources

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (DISPL-184) I18nStrutsAdapter does not resolve i18n resources

JIRA jira@codehaus.org

    [ https://jira.codehaus.org/browse/DISPL-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=274124#comment-274124 ]

Toby Neumann commented on DISPL-184:
------------------------------------

This is not a problem of the various adapter implementations. In fact, these adapters are only involved resolving the resources for table title and column titles. All the built-in texts which are listed in the file displaytag.properties do not use that mechanism but access the properties directly (in file TableProperties.java). I think that is what is wrong.

Is there a reason why it could not be done in the same way?

> I18nStrutsAdapter does not resolve i18n resources
> -------------------------------------------------
>
>                 Key: DISPL-184
>                 URL: https://jira.codehaus.org/browse/DISPL-184
>             Project: DisplayTag
>          Issue Type: Bug
>          Components: I18N, Paging/Sorting
>    Affects Versions: 1.0
>            Reporter: Dominik Drzewiecki
>             Fix For: TBD
>
>
> This is odd. I18nStrutsAdapter cannot resolve *part* of internationalized resources. The resources for tablecolumn header name, passed as a titeKey parameter in <display:column> *do get* resolved according to provided request locale while the messages that appear in a paging banner (paging.banner.*) seem to get resolved from the displaytag.properties rather than from messages defined in struts-config.xml. There's no fancy configuration: struts, tiles, displaytag and accompanying libraries are placed within webapp's WEB-INF/lib.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
displaytag-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel