[jboss-user] [JBoss Seam] - Re: internationalization question

wise_guybg do-not-reply at jboss.com
Wed Sep 12 03:20:33 EDT 2007


Hi,

You can have the localeSelector component injected in your authenticator component:
@In
  | LocaleSelector localeSelector;

And in the authenticate method:
localeSelector.setLocaleString(l);
  | localeSelector.select();

There are other setters available, too. I use setLocaleString() because this is what is most useful if you use getSupportedLocales().

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083306



More information about the jboss-user mailing list