net.sourceforge.stripes.validation.expression
Class ExpressionExecutorSupport.BeanVariableResolver
java.lang.Object
net.sourceforge.stripes.validation.expression.ExpressionExecutorSupport.BeanVariableResolver
- All Implemented Interfaces:
- VariableResolver
- Enclosing class:
- ExpressionExecutorSupport
protected static class ExpressionExecutorSupport.BeanVariableResolver
- extends Object
- implements VariableResolver
A JSP EL VariableResolver that first attempts to look up the value of the variable as a first
level property on the ActionBean, and if does not exist then delegates to the built in resolver.
- Since:
- Stripes 1.3
- Author:
- Tim Fennell
Method Summary |
Object |
resolveVariable(String property)
Recognizes a couple of special variables, and if the property requested
isn't one of them, just looks up a property on the action bean. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resolveVariable
public Object resolveVariable(String property)
throws ELException
- Recognizes a couple of special variables, and if the property requested
isn't one of them, just looks up a property on the action bean.
- Specified by:
resolveVariable
in interface VariableResolver
- Parameters:
property
- the name of the variable/property being looked for
- Returns:
- the property value or null
- Throws:
ELException
? Copyright 2005-2006, Stripes Development Team.