code: private Locale getLocale(FacesContext context) {
  
          // PENDING(craigmcc) - JSTL localization context?
          Locale locale = this.locale;
          if (locale == null) {
              locale = context.getViewRoot().getLocale();
          }
          return (locale);
  
      }
docs: <p>Return the <code>Locale</code> we will use for localizing our
  formatting and parsing processing.</p>
  
  @param context The {@link FacesContext} for the current request