[jboss-user] [JBoss Seam] - Resourcebundle question

yoav200 do-not-reply at jboss.com
Thu Jan 25 11:59:27 EST 2007


Hello,

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">
  | 		<value>countries</value>
  | 		<value>airLines</value>
  | 	</property>
  | </component>
  | 

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


  | @In(required=false)
  | Map<String, String> countries;
  | 
  | @In(required=false)
  | 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.



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

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



More information about the jboss-user mailing list