[
http://jira.jboss.com/jira/browse/JBSEAM-2364?page=all ]
Pete Muir updated JBSEAM-2364:
------------------------------
Summary: Resource-bundle from different modules (was: Resource-bundle from different
modules bug)
Priority: Trivial (was: Major)
Btw certainly not a bug, just that components.xml was not designed the way you are trying
to use it.
Resource-bundle from different modules
--------------------------------------
Key: JBSEAM-2364
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2364
Project: JBoss 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:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira