[jboss-user] [JBoss Seam] - Add in a message bundle from a component jar

petemuir do-not-reply at jboss.com
Thu Dec 14 18:12:10 EST 2006


I was hoping to be able to add an extra message bundle to the seam message bundle (it should be added as the lowest priority) from an included jar (in WEB-INF/lib).  I tried

<components ...>
  | 	<core:resource-bundle>
  | 		<core:bundle-names>
  | 			<value>org.jboss.seam.selectitems.messages</value>
  | 		</core:bundle-names>
  | 	</core:resource-bundle>
  | </components>

in the jar/META-INF/components.xml and

<components ...>
  | 	<core:resource-bundle>
  | 		<core:bundle-names>
  | 			<value>messages</value>
  | 		</core:bundle-names>
  | 	</core:resource-bundle>
  | </components>

in the ear/war/WEB-INF/components.xml, but this just tells me

Two components with the same name and precedence: org.jboss.seam.core.resourceBundle

Is there any way to do this (add extra message bundles from a jar) or do I need to add a feature request?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994063#3994063

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994063



More information about the jboss-user mailing list