]
Pete Muir updated JBSEAM-2364:
------------------------------
Issue Type: Feature Request (was: Bug)
I guess what you are after is a way to add to the list rather than replace it?
Resource-bundle from different modules bug
------------------------------------------
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
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: