public class ShaleVariableResolver
extends javax.faces.el.VariableResolver
Shale-specific VariableResolver for evaluating JavaServer Faces value binding and method binding expressions. The following special variable names are recognized, and evaluated as indicated:
java:comp/env
(relative to the initial context
supplied by the container.All other evaluations are delegated to the previous implementation that was passed to our constructor.
Since 1.0.1, if the optional shale-tiger.jar
file
(containing the Shale Tiger Extensions) is available to this web
application, the extra variable resolver implementation found there
will be interposed between this instance and the previous
implementation instance passed to our constructor.
Constructor and Description |
---|
ShaleVariableResolver(javax.faces.el.VariableResolver original)
Construct a new
ShaleVariableResolver instance. |
Modifier and Type | Method and Description |
---|---|
Object |
resolveVariable(javax.faces.context.FacesContext context,
String name)
Resolve variable names known to this resolver; otherwise, delegate to
the original resolver passed to our constructor.
|
public ShaleVariableResolver(javax.faces.el.VariableResolver original)
Construct a new ShaleVariableResolver
instance.
original
- Original resolver to delegate to.public Object resolveVariable(javax.faces.context.FacesContext context, String name) throws javax.faces.el.EvaluationException
Resolve variable names known to this resolver; otherwise, delegate to the original resolver passed to our constructor.
resolveVariable
in class javax.faces.el.VariableResolver
context
- FacesContext for the current requestname
- Variable name to be resolvedjavax.faces.el.EvaluationException
- if the JNDI naming context
throws a naming exceptionCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.