public Object getValue(ELContext elContext, Object base, Object property) { if (base instanceof Action) { Action action = (Action) base; elContext.setPropertyResolved(true); AnnotatedAction annotated = new AnnotatedAction(action); annotated.setMethod(property.toString()); return annotated; } else { return null; } }
public TypedValue read(EvaluationContext context, Object target, String name) { AnnotatedAction annotated = new AnnotatedAction((Action) target); annotated.setMethod(name); return new TypedValue(annotated); }
public Object getProperty(Map context, Object target, Object name) throws OgnlException { Action action = (Action) target; AnnotatedAction annotated = new AnnotatedAction(action); annotated.setMethod(name.toString()); return annotated; }
public Object getValue(ELContext elContext, Object base, Object property) { if (base instanceof Action) { Action action = (Action) base; elContext.setPropertyResolved(true); AnnotatedAction annotated = new AnnotatedAction(action); annotated.setMethod(property.toString()); return annotated; } else { return null; } }
public Object getValue(ELContext elContext, Object base, Object property) { if (base instanceof Action) { Action action = (Action) base; elContext.setPropertyResolved(true); AnnotatedAction annotated = new AnnotatedAction(action); annotated.setMethod(property.toString()); return annotated; } else { return null; } }
public TypedValue read(EvaluationContext context, Object target, String name) { AnnotatedAction annotated = new AnnotatedAction((Action) target); annotated.setMethod(name); return new TypedValue(annotated); }