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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...