What would is a good approach for changing message bundles at runtime?
I'd like something similar to the locale selector, but with the ability to
switch to messages defined in arbitrarily named '.properties' files.
So, I'd like to switch to a localized version of 'foo' or 'bar' without
redeploying...
foo.properties
some.key=This is foo
foo_fr.properties
some.key=C'est trop foo
bar.properties
some.key=I am bar
facelet xhtml
#{message['some.key']}
And, I'd like this change to only affect messages in Session scope.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077570#4077570
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077570
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user