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
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to