|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.el.VariableResolver org.apache.shale.faces.ShaleVariableResolver
public class ShaleVariableResolver
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 Summary | |
---|---|
ShaleVariableResolver(javax.faces.el.VariableResolver original)
Construct a new ShaleVariableResolver instance. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShaleVariableResolver(javax.faces.el.VariableResolver original)
Construct a new ShaleVariableResolver
instance.
original
- Original resolver to delegate to.Method Detail |
---|
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 resolved
javax.faces.el.EvaluationException
- if the JNDI naming context
throws a naming exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |