I replied before I saw your second posting.

I like your first code snippet better. That way I can control time and other 
stuffs. I figured you meant injecting a LocaleSelector so that what I did.

Here is how I coded it.

  |     @In
  |     LocaleSelector localeSelector;
  |     
  |     public String englishAction() {
  |             localeSelector.setLocale(java.util.Locale.ENGLISH);
  |             return NavigationRuleNames.DISPLAY_SAME_PAGE;
  |     }
  | 

Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024057
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to