public class AliasVariableMapper extends javax.el.VariableMapper
AliasValueExpression
instances can be resolved.
It also builds the VariableMapper
to use when building the component tree, so that
AliasValueExpression
instances are kept in component attributes, even on ajax rerender.
Modifier and Type | Field and Description |
---|---|
protected List<String> |
blockedPatterns |
protected String |
id |
static String |
REQUEST_MARKER |
protected Map<String,javax.el.ValueExpression> |
vars |
Constructor and Description |
---|
AliasVariableMapper() |
AliasVariableMapper(String id) |
Modifier and Type | Method and Description |
---|---|
static void |
exposeAliasesToRequest(javax.faces.context.FacesContext ctx,
AliasVariableMapper vm) |
List<String> |
getBlockedPatterns() |
String |
getId() |
static AliasVariableMapper |
getVariableMapper(javax.faces.context.FacesContext ctx,
String id) |
javax.el.VariableMapper |
getVariableMapperForBuild(javax.el.VariableMapper orig) |
Map<String,javax.el.ValueExpression> |
getVariables() |
boolean |
hasVariables(String variable) |
protected static NuxeoAliasBean |
lookupBean(javax.faces.context.FacesContext ctx) |
static void |
removeAliasesExposedToRequest(javax.faces.context.FacesContext ctx,
String id) |
javax.el.ValueExpression |
resolveVariable(String variable) |
void |
setBlockedPatterns(List<String> blockedPatterns) |
void |
setId(String id) |
javax.el.ValueExpression |
setVariable(String variable,
javax.el.ValueExpression expression) |
String |
toString() |
public static final String REQUEST_MARKER
protected List<String> blockedPatterns
public AliasVariableMapper()
public AliasVariableMapper(String id)
public javax.el.ValueExpression resolveVariable(String variable)
resolveVariable
in class javax.el.VariableMapper
public javax.el.ValueExpression setVariable(String variable, javax.el.ValueExpression expression)
setVariable
in class javax.el.VariableMapper
public boolean hasVariables(String variable)
public javax.el.VariableMapper getVariableMapperForBuild(javax.el.VariableMapper orig)
public Map<String,javax.el.ValueExpression> getVariables()
public List<String> getBlockedPatterns()
public void setBlockedPatterns(List<String> blockedPatterns)
public static AliasVariableMapper getVariableMapper(javax.faces.context.FacesContext ctx, String id)
public static void exposeAliasesToRequest(javax.faces.context.FacesContext ctx, AliasVariableMapper vm)
public static void removeAliasesExposedToRequest(javax.faces.context.FacesContext ctx, String id)
protected static NuxeoAliasBean lookupBean(javax.faces.context.FacesContext ctx)
Copyright © 2017 Nuxeo. All rights reserved.