[jboss-user] [JBoss Seam] - Re: Changing Locale in Seam?

rmemoria do-not-reply at jboss.com
Wed Feb 28 18:54:01 EST 2007


Don't use the JSF context. Instead inject the component localeSelector like that:

@In Locale localeSelector;

..
..
..

localeSelector.setLocale(Locale.ENGLISH);

..
..

It shall work,

regards,
Ricardo

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

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



More information about the jboss-user mailing list