[jboss-user] [JBoss Seam] - Re: Changing Locale in Seam?

tonylmai do-not-reply at jboss.com
Wed Feb 28 20:31:00 EST 2007


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



More information about the jboss-user mailing list