[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-2364) Resource-bundle from different modules
Pete Muir (JIRA)
jira-events at lists.jboss.org
Sat Oct 4 12:17:20 EDT 2008
[ https://jira.jboss.org/jira/browse/JBSEAM-2364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pete Muir closed JBSEAM-2364.
-----------------------------
Resolution: Won't Fix
You should do this programatically, this is not how Seam will ever work.
> Resource-bundle from different modules
> --------------------------------------
>
> Key: JBSEAM-2364
> URL: https://jira.jboss.org/jira/browse/JBSEAM-2364
> Project: Seam
> Issue Type: Feature Request
> Components: Core
> Affects Versions: 2.0.0.GA
> Environment: Windows XP, Eclipse, Seam running in a Tomcat 5.5.25
> Reporter: Pierre Ingmansson
> Priority: Trivial
>
> 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list