This content has been marked as final.
Show 4 replies
-
1. Re: Add in a message bundle from a component jar
norman.richards Dec 14, 2006 6:49 PM (in response to pmuir)Are you really wanting to merge them? Would it not work to simply give your other resource bundle a different name?
<core:resource-bundle name="otherMessages">
-
2. Re: Add in a message bundle from a component jar
gavin.king Dec 14, 2006 6:57 PM (in response to pmuir)What you're trying to do can't work. There is no way for two configurations to be "merged", one always overrides the other.
If all you need is an override, you can use <component precedence="..." -
3. Re: Add in a message bundle from a component jar
pmuir Dec 14, 2006 7:52 PM (in response to pmuir)Ok. <component precedence="..." doesn't seem to work in 1.1.0GA
java.lang.IllegalArgumentException: no such setter method: org.jboss.seam.core.ResourceBundle.precedence
But I really do need to merge. I want to specify some default messages and let the user override them as they desire. Looks like I'll have to go back to loading the resource bundle myself and just checking the seam bundle for any overrides. -
4. Re: Add in a message bundle from a component jar
gavin.king Dec 14, 2006 11:43 PM (in response to pmuir)Ok. <component precedence="..." doesn't seem to work in 1.1.0GA
Ups. Fixed in CVS.