[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2364) Resource-bundle from different modules bug

Pierre Ingmansson (JIRA) jira-events at lists.jboss.org
Mon Dec 10 09:08:51 EST 2007


Resource-bundle from different modules bug
------------------------------------------

                 Key: JBSEAM-2364
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2364
             Project: JBoss Seam
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0.0.GA
         Environment: Windows XP, Eclipse, Seam running in a Tomcat 5.5.25
            Reporter: Pierre Ingmansson


We have a application that consists of several modules. Each module has it's own resource-bundle and therefore we created several "components.xml", one per module.
In every "components.xml" we have the following (the name of the bundle varies per module off course..):

  <core:resource-loader>
    <core:bundle-names>
      <value>mymodule_messages</value>
    </core:bundle-names>
  </core:resource-loader>

In a perfect world you would expect this to work, but it doesn't. Only the resource-bundle declared in the "components.xml" that was loaded last, is loaded into the ResourceLoader. My guess is that Seam stores all "component.xml"-parameters in some property during load, and when a new "components.xml" is loaded the settings are overwritten. Only the settings in the last "component.xml" is loaded..

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

        



More information about the seam-issues mailing list