@ JSFProperty ( deferredValueType = "java.lang.Object" ) public Locale getLocale ( ) { if ( _locale != null ) { return _locale ; } FacesContext context = FacesContext . getCurrentInstance ( ) ; return context . getViewRoot ( ) . getLocale ( ) ; }
The name of the locale to be used instead of the default as specified in the faces configuration file .