[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-user
Subject: [jboss-user] [JBoss Seam] - Changing Locale in Seam?
From: tonylmai <do-not-reply () jboss ! com>
Date: 2007-02-28 23:43:18
Message-ID: 6365553.1172706198821.JavaMail.jboss () colo-br-02 ! atl ! jboss ! com
[Download RAW message or body]
I have the following code
| public class LocalChanger {
| public String englishAction() {
| FacesContext context = FacesContext.getCurrentInstance();
| context.getViewRoot().setLocale(Locale.ENGLISH);
| return NavigationRuleNames.DISPLAY_SAME_PAGE;
| }
|
| public String otherLangAction() {
| ....
| }
|
Yet some how when I navigate around, the locale is being set back to the default Locale.
Is there a better way to do it with Seam?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024024#4024024
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024024
_______________________________________________
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