[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [jboss-user] [JBoss Seam] - Re: Changing Locale in Seam?
From:       rmemoria <do-not-reply () jboss ! com>
Date:       2007-02-28 23:54:01
Message-ID: 27501481.1172706841511.JavaMail.jboss () colo-br-02 ! atl ! jboss ! com
[Download RAW message or body]

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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic