0 Replies Latest reply on Nov 10, 2009 6:40 PM by willie slepecki

    changing locale at conversation end

    willie slepecki Newbie

      in my app, for the conversation you can select a locale.  that part works great but when the conversation ends, i want the locale to default back to english.


      ive tried



      @Destroy
              public void destroy()
              {
                      // FacesContext.getCurrentInstance().getViewRoot().setLocale(locale.ENGLISH);
                      LocaleSelector.instance().setLocale(locale.ENGLISH);
                      LocaleSelector.instance().select();
                      logger.debug("destroyed!");
              }




      using both the localeselector and the facescontext and neither work.  any ideas how to do this?