1 Reply Latest reply on Jan 25, 2007 12:18 PM by Pete Muir

    Resourcebundle question

    Yoav Al Newbie


      I try to convert a resource into a selectList and run in few problems.
      in my components.xml i have:

      <component name="org.jboss.seam.core.resourceBundle">
       <property name="bundleNames">

      in one of my beans i try to inject the resource like this:

      Map<String, String> countries;
      Map<String, String> airLines;

      when looking at seam debug i can see the the resourceBundle-->bundleNames has the countries and airLines but in my bean they are null.

        • 1. Re: Resourcebundle question
          Pete Muir Master

          That's not how the resource bundle component works in Seam (and I doubt it ever will be - the point of the seam resource bundles is to load messages for i8ln).

          If you really want to do this then I suggest loading a resource bundle the old fashioned way (or write your own manager component to wrap this up and use injection).