You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Oleg Gorobets (JIRA)" <ji...@apache.org> on 2006/10/24 10:46:03 UTC

[jira] Created: (WW-1481) Configuration of message resources

Configuration of message resources
----------------------------------

                 Key: WW-1481
                 URL: http://issues.apache.org/struts/browse/WW-1481
             Project: Struts 2
          Issue Type: New Feature
          Components: Configuration
            Reporter: Oleg Gorobets


Allow a configuration of message resources, as we have in Struts 1:
<init-param>
    <param-name>factory</param-name>
    <param-value>org.foo.MessageResourcesFactory</param-value>
</init-param>



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (WW-1481) Configuration of message resources

Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Husted updated WW-1481:
---------------------------

    Fix Version/s: 2.0.1
           Status: Resolved  (was: Closed)

> Configuration of message resources
> ----------------------------------
>
>                 Key: WW-1481
>                 URL: https://issues.apache.org/struts/browse/WW-1481
>             Project: Struts 2
>          Issue Type: New Feature
>          Components: Configuration
>            Reporter: Oleg Gorobets
>             Fix For: 2.0.1
>
>
> Allow a configuration of message resources, as we have in Struts 1:
> <init-param>
>     <param-name>factory</param-name>
>     <param-value>org.foo.MessageResourcesFactory</param-value>
> </init-param>

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


[jira] Commented: (WW-1481) Configuration of message resources

Posted by "Oleg Gorobets (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/struts/browse/WW-1481?page=comments#action_38589 ] 
            
Oleg Gorobets commented on WW-1481:
-----------------------------------

I inspected Struts2 and found that a better idea is to create a base action class extending com.opensymphony.xwork2.ActionSupport class and overriding getText() methods than to create mutiple resource bundle classes.

> Configuration of message resources
> ----------------------------------
>
>                 Key: WW-1481
>                 URL: http://issues.apache.org/struts/browse/WW-1481
>             Project: Struts 2
>          Issue Type: New Feature
>          Components: Configuration
>            Reporter: Oleg Gorobets
>
> Allow a configuration of message resources, as we have in Struts 1:
> <init-param>
>     <param-name>factory</param-name>
>     <param-value>org.foo.MessageResourcesFactory</param-value>
> </init-param>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (WW-1481) Configuration of message resources

Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/WW-1481?page=all ]

Ted Husted closed WW-1481.
--------------------------

    Resolution: Not A Problem

Right now, one or more alternate messages resources can be specified in the struts.properties file. 

We can also assign different message resources to different classes using naming conventions, and the 181n tag can load an arbitrary messages resource for the span of the tag. 


> Configuration of message resources
> ----------------------------------
>
>                 Key: WW-1481
>                 URL: http://issues.apache.org/struts/browse/WW-1481
>             Project: Struts 2
>          Issue Type: New Feature
>          Components: Configuration
>            Reporter: Oleg Gorobets
>
> Allow a configuration of message resources, as we have in Struts 1:
> <init-param>
>     <param-name>factory</param-name>
>     <param-value>org.foo.MessageResourcesFactory</param-value>
> </init-param>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira