public Object getGlobalObject(String objectName) throws EvaluationException { FacesContext fc = FacesContext.getCurrentInstance(); return fc.getApplication().getVariableResolver().resolveVariable(fc, objectName); }