In Chapter 8 in the Seam - Contextual Components there is a topic about
resource bundle in seam. I followed the examples and did not make it to work...
I have a country.properties file, I?ve put it in WEB-INF/classes and add the
following to the components.xml
| <component name="org.jboss.seam.core.resourceBundle">
| <property name="bundleNames">
| <value>countries</value>
| </property>
| </component>
|
And then I tried to get it like so:
| <h:selectOneListbox >
| <f:selectItems value="#{countries}"/>
| </h:selectOneListbox>
|
But I got null exception for countries.
Where did I go wrong?
And how can I change the default location of the properties, I want to put it
in WEB-INF/resources (instead of classes)
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002209#4002209
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002209
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user