0 Replies Latest reply on Nov 10, 2009 6:40 PM by scphantm.scphantm.gmail.com

    changing locale at conversation end

    scphantm.scphantm.gmail.com

      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?