[jboss-user] [JBoss Portal] - JSF Portlet with international content

germit do-not-reply at jboss.com
Sat Oct 21 04:21:14 EDT 2006


Hello,

we have a problem accessing a map property of a session bean from a xhtml page.

There is a Map<String, MyObject> well configured to be filled with the right data on database load. I want du access it dynamically depending on the selected local, but it only works hardcoded:
#{es.locales['de'].title}

but i want to have it like that:
#{es.locales[resourceBundle.locale].title}

is there a chance to get it work as we want to have it?

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

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



More information about the jboss-user mailing list