public Object resolveVariable(FacesContext facesContext, String name) throws EvaluationException { try { return elResolver.getValue(facesContext.getELContext(), null, name); } catch (PropertyNotFoundException e) { throw new EvaluationException(e); } catch (ELException e) { throw new EvaluationException(e); } }
public boolean isReadOnly(FacesContext context) throws EvaluationException, PropertyNotFoundException { if (context == null) { throw new NullPointerException("FacesContext -> null"); } boolean result = false; try { result = valueExpression.isReadOnly(context.getELContext()); } catch (ELException elex) { throw new EvaluationException(elex); } return result; }
public boolean isReadOnly(FacesContext context) throws EvaluationException, PropertyNotFoundException { if (context == null) { throw new NullPointerException("FacesContext -> null"); } boolean result = false; try { result = valueExpression.isReadOnly(context.getELContext()); } catch (ELException elex) { throw new EvaluationException(elex); } return result; }
public void setValue(Object base, int index, Object value) throws EvaluationException, PropertyNotFoundException { try { elResolver.setValue(elContext(), base, new Integer(index), value); } catch (javax.el.PropertyNotFoundException e) { throw new javax.faces.el.PropertyNotFoundException(e); } catch (ELException e) { throw new EvaluationException(e); } }
public boolean isReadOnly(Object base, Object property) { if (delegate != null) { return delegate.isReadOnly(base, property); } try { FacesContext context = FacesContext.getCurrentInstance(); return context.getApplication().getELResolver().isReadOnly(context.getELContext(), base,property); } catch (ELException elex) { throw new EvaluationException(elex); } }
@Override public boolean isReadOnly(FacesContext context) throws EvaluationException { try { return expression.isReadOnly(context.getELContext()); } catch (javax.el.PropertyNotFoundException e) { throw new PropertyNotFoundException(e); } catch (ELException e) { throw new EvaluationException(e); } }
@Override public Class<?> getType(FacesContext context) throws EvaluationException { try { return expression.getType(context.getELContext()); } catch (javax.el.PropertyNotFoundException e) { throw new PropertyNotFoundException(e); } catch (ELException e) { throw new EvaluationException(e); } }
public boolean isReadOnly(Object base, Object property) throws EvaluationException, PropertyNotFoundException { try { return elResolver.isReadOnly(elContext(), base, property); } catch (javax.el.PropertyNotFoundException e) { throw new javax.faces.el.PropertyNotFoundException(e); } catch (ELException e) { throw new EvaluationException(e); } }
public Object invoke(FacesContext facesContext, Object[] params) throws EvaluationException { try { return methodExpression.invoke(facesContext.getELContext(), params); } catch (javax.el.MethodNotFoundException e) { throw new javax.faces.el.MethodNotFoundException(e); } catch (ELException e) { throw new EvaluationException(e); } }
public Object invoke(FacesContext facesContext, Object[] params) throws EvaluationException, MethodNotFoundException { try { return methodExpression.invoke(facesContext.getELContext(), params); } catch (javax.el.MethodNotFoundException e) { throw new javax.faces.el.MethodNotFoundException(e); } catch (ELException e) { throw new EvaluationException(e.getCause()); } }
public Object getValue(FacesContext context) throws EvaluationException, PropertyNotFoundException { ELContext ctx = context.getELContext(); try { return this.delegate.getValue(ctx); } catch (javax.el.PropertyNotFoundException e) { throw new PropertyNotFoundException(e.getMessage(), e.getCause()); } catch (ELException e) { throw new EvaluationException(e.getMessage(), e.getCause()); } }
public Object getValue(FacesContext context) throws EvaluationException, PropertyNotFoundException { ELContext ctx = ELAdaptor.getELContext(context); try { return this.delegate.getValue(ctx); } catch (javax.el.PropertyNotFoundException e) { throw new PropertyNotFoundException(e.getMessage(), e.getCause()); } catch (ELException e) { throw new EvaluationException(e.getMessage(), e.getCause()); } }
public Class getType(FacesContext context) throws EvaluationException, PropertyNotFoundException { ELContext ctx = context.getELContext(); try { return this.delegate.getType(ctx); } catch (javax.el.PropertyNotFoundException e) { throw new PropertyNotFoundException(e.getMessage(), e.getCause()); } catch (ELException e) { throw new EvaluationException(e.getMessage(), e.getCause()); } }
public Object invoke(FacesContext context, Object[] params) throws EvaluationException, MethodNotFoundException { try { return m.invoke(context.getELContext(), params); } catch (javax.el.MethodNotFoundException e) { throw new MethodNotFoundException(e.getMessage(), e.getCause()); } catch (ELException e) { throw new EvaluationException(e.getMessage(), e.getCause()); } }
public Class getType(FacesContext context) throws EvaluationException, PropertyNotFoundException { ELContext ctx = ELAdaptor.getELContext(context); try { return this.delegate.getType(ctx); } catch (javax.el.PropertyNotFoundException e) { throw new PropertyNotFoundException(e.getMessage(), e.getCause()); } catch (ELException e) { throw new EvaluationException(e.getMessage(), e.getCause()); } }
public boolean isReadOnly(FacesContext context) throws EvaluationException, PropertyNotFoundException { ELContext ctx = context.getELContext(); try { return this.delegate.isReadOnly(ctx); } catch (javax.el.PropertyNotFoundException e) { throw new PropertyNotFoundException(e.getMessage(), e.getCause()); } catch (ELException e) { throw new EvaluationException(e.getMessage(), e.getCause()); } }
public Object invoke(FacesContext context, Object[] params) throws EvaluationException, MethodNotFoundException { try { return m.invoke(ELAdaptor.getELContext(context), params); } catch (javax.el.MethodNotFoundException e) { throw new MethodNotFoundException(e.getMessage(), e.getCause()); } catch (ELException e) { throw new EvaluationException(e.getMessage(), e.getCause()); } }
@Override public boolean isReadOnly(FacesContext context) throws EvaluationException, PropertyNotFoundException { ELContext ctx = context.getELContext(); try { return this.delegate.isReadOnly(ctx); } catch (javax.el.PropertyNotFoundException e) { throw new PropertyNotFoundException(e.getMessage(), e.getCause()); } catch (ELException e) { throw new EvaluationException(e.getMessage(), e.getCause()); } }
public Class getType(FacesContext context) throws MethodNotFoundException { try { return m.getMethodInfo(ELAdaptor.getELContext(context)).getReturnType(); } catch (javax.el.MethodNotFoundException e) { throw new MethodNotFoundException(e.getMessage(), e.getCause()); } catch (ELException e) { throw new EvaluationException(e.getMessage(), e.getCause()); } }
public Class getType(FacesContext context) throws MethodNotFoundException { try { return m.getMethodInfo(context.getELContext()).getReturnType(); } catch (javax.el.MethodNotFoundException e) { throw new MethodNotFoundException(e.getMessage(), e.getCause()); } catch (ELException e) { throw new EvaluationException(e.getMessage(), e.getCause()); } }