4 Replies Latest reply on Dec 14, 2006 11:43 PM by Gavin King

    Add in a message bundle from a component jar

    Pete Muir Master

      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?