You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2007/08/19 22:53:35 UTC

[jira] Commented: (STR-2272) keys of MessageResources

    [ https://issues.apache.org/struts/browse/STR-2272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41937 ] 

Paul Benedict commented on STR-2272:
------------------------------------

Do you understand that keys are on a per-locale basis? So switching locales may return a different set of keys. If this is acceptable, it could be implemented.

> keys of MessageResources
> ------------------------
>
>                 Key: STR-2272
>                 URL: https://issues.apache.org/struts/browse/STR-2272
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Extras
>    Affects Versions: 1.2.4
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Thomas Hartwig
>            Assignee: Struts Developers
>            Priority: Minor
>
> I have seen some rare requests to get the keys out of a MessageResources and
> some quirks around it. (for me I read the resource file for my own via
> org.apache.commons.configuration.PropertiesConfiguration at servlet startup, oh
> brother)
> The best would be to have a method like getKeys in PropertyMessageResources.
> PS: I need this for implementing some helper tooltips on a page which should
> dynamic be loaded if available in the properties.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.