public class JSFActionContext extends AbstractActionContext implements ActionContext
Constructor and Description |
---|
JSFActionContext(javax.el.ELContext originalContext,
javax.el.ExpressionFactory expressionFactory) |
JSFActionContext(javax.faces.context.FacesContext faces) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkCondition(String expression)
Returns true if given expression resolves to true in this context.
|
disableGlobalCaching, getCurrentDocument, getCurrentPrincipal, getDocumentManager, getLocalVariable, putAllLocalVariables, putLocalVariable, setCurrentDocument, setCurrentPrincipal, setDocumentManager, size
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
disableGlobalCaching, getCurrentDocument, getCurrentPrincipal, getDocumentManager, getLocalVariable, putAllLocalVariables, putLocalVariable, setCurrentDocument, setCurrentPrincipal, setDocumentManager, size
public JSFActionContext(javax.faces.context.FacesContext faces)
public JSFActionContext(javax.el.ELContext originalContext, javax.el.ExpressionFactory expressionFactory)
public boolean checkCondition(String expression) throws javax.el.ELException
ActionContext
Returns false if expression is blank (null or empty).
checkCondition
in interface ActionContext
checkCondition
in class AbstractActionContext
javax.el.ELException
Copyright © 2015 Nuxeo SA. All rights reserved.