public ELContext getELContext() {
checkReleased();
if (this.elContext == null) {
Application application = getApplication();
this.elContext = new ELContextImpl(application.getELResolver());
this.elContext.putContext(FacesContext.class, this);
UIViewRoot root = getViewRoot();
if (null != root) {
this.elContext.setLocale(root.getLocale());
}