org.apache.struts2.jsf
Class StrutsVariableResolver
java.lang.Object
javax.faces.el.VariableResolver
org.apache.struts2.jsf.StrutsVariableResolver
public class StrutsVariableResolver
- extends javax.faces.el.VariableResolver
Will return a reference to the current action if the action name matches the
requested variable name. Otherwise it will attempt to resolve the name from
the value stack. Otherwise it will delegate to the original jsf resolver.
Method Summary |
Object |
resolveVariable(javax.faces.context.FacesContext context,
String name)
Will return a reference to the current action if the action name matches
the requested variable name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StrutsVariableResolver
public StrutsVariableResolver(javax.faces.el.VariableResolver original)
- Constructor
- Parameters:
original
- Original resolver to delegate to.
resolveVariable
public Object resolveVariable(javax.faces.context.FacesContext context,
String name)
throws javax.faces.el.EvaluationException
Will return a reference to the current action if the action name matches
the requested variable name. Otherwise it will attempt to resolve the
name from the value stack. Otherwise it will delegate to the original jsf
resolver.
- Specified by:
resolveVariable
in class javax.faces.el.VariableResolver
- Parameters:
name
- Variable name to be resolved
- Throws:
javax.faces.el.EvaluationException
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.