[jboss-user] [JBoss Seam] - Re: Load Resource Bundle
jbossja
do-not-reply at jboss.com
Thu Apr 5 01:30:54 EDT 2007
Hi knuwu,
Yes I do have a messages_fr.properties in my WEB-INF/classes directory.
I can access the properties file in my jsf pages via <f:loadBundle basename="messages" var="msg"/>.
The problem is when I'm loading the Resource Bundle in my bean class to populate a drop down list with values that are locale-sensitive.
I have tried what you suggested but it's not working.
In my components.xml file I have this:
| <component name="resourceBundle">
| <property name="bundleName">messages</property>
| </component>
|
Any ideas about what can be done?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034861#4034861
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034861
More information about the jboss-user
mailing list