1 Reply Latest reply on May 4, 2007 10:00 AM by Pete Muir

    Injection of LocaleSelector does not work in 1.2.1GA

    Tony Mai Apprentice

      The following code used to work when I first tried it with 1.1.6GA. Now, the the injection of LocaleSelector no longer works. The value is null.

      Any idea?


      public class LocaleChanger {
       LocaleSelector localeSelector;
       Log log;
       public String englishAction() {
       assert (localeSelector != null) : "Seam Injection did not work.";
       if (localeSelector != null) {
       } else {
       log.fatal("Seam Injection did not work. LocaleSelector was null.");
       return NavigationRuleNames.DISPLAY_SAME_PAGE;