public class JSFActionContext extends AbstractActionContext implements ActionContext
Modifier and Type | Field and Description |
---|---|
protected javax.el.ExpressionFactory |
expressionFactory |
protected javax.el.ELContext |
originalContext |
currentDocument, currentPrincipal, docMgr, localVariables
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
disableGlobalCaching, getCurrentDocument, getCurrentPrincipal, getDocumentManager, getLocalVariable, putAllLocalVariables, putLocalVariable, setCurrentDocument, setCurrentPrincipal, setDocumentManager, size
protected final javax.el.ELContext originalContext
protected final javax.el.ExpressionFactory expressionFactory
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.