You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Boda Béla (JIRA)" <ji...@apache.org> on 2008/05/25 16:52:05 UTC

[jira] Created: (WW-2657) Zero configuration and message resource

Zero configuration and message resource
---------------------------------------

                 Key: WW-2657
                 URL: https://issues.apache.org/struts/browse/WW-2657
             Project: Struts 2
          Issue Type: Bug
          Components: Core Actions
    Affects Versions: 2.0.11.1
         Environment: Java 1.5, Tomcat 6
            Reporter: Boda Béla


If the action is not in the config .xml and only zero config is used the message resource are not bind as described in the guide, but only the global message resource is accessible. It doesn't  see the FooAction.properties or the package.properties.
If I define the action in the .xml it works fine.

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


[jira] Updated: (WW-2657) Zero configuration and message resource

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

Don Brown updated WW-2657:
--------------------------

    Fix Version/s: 2.1.3

> Zero configuration and message resource
> ---------------------------------------
>
>                 Key: WW-2657
>                 URL: https://issues.apache.org/struts/browse/WW-2657
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.0.11.1
>         Environment: Java 1.5, Tomcat 6
>            Reporter: Boda Béla
>             Fix For: 2.1.3
>
>
> If the action is not in the config .xml and only zero config is used the message resource are not bind as described in the guide, but only the global message resource is accessible. It doesn't  see the FooAction.properties or the package.properties.
> If I define the action in the .xml it works fine.

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


[jira] Resolved: (WW-2657) Zero configuration and message resource

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

Don Brown resolved WW-2657.
---------------------------

       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 2.1.3)
         Assignee: Don Brown

The message resources have nothing to do with codebehind, which simply builds the configuration.  Try using the config-browser plugin and see what differences exist between the generated and xml configuration, because I'm pretty sure that is where your troubles lie.

> Zero configuration and message resource
> ---------------------------------------
>
>                 Key: WW-2657
>                 URL: https://issues.apache.org/struts/browse/WW-2657
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.0.11.1
>         Environment: Java 1.5, Tomcat 6
>            Reporter: Boda Béla
>            Assignee: Don Brown
>
> If the action is not in the config .xml and only zero config is used the message resource are not bind as described in the guide, but only the global message resource is accessible. It doesn't  see the FooAction.properties or the package.properties.
> If I define the action in the .xml it works fine.

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