I need to know the used locale in one of my sessionbeans so I inject the session context in a regular session bean:
@In private Context sessionContext;
then I get the localeSelector with sessionContext.get("localeSelector").
This worked fine when I was using Seam 1.0.1GA but when I switched to 1.1.0CR2 I started to get null back instead of the localeSelector object.
Does anybody know why?
Yes, this is a change in Seam 1.1.0.CR2. You should use:
@In LocaleSelector localeSelector