org.nuxeo.ecm.platform.ui.web.binding.alias
Class AliasVariableMapper
java.lang.Object
javax.el.VariableMapper
org.nuxeo.ecm.platform.ui.web.binding.alias.AliasVariableMapper
public class AliasVariableMapper
- extends javax.el.VariableMapper
Variable mapper that holds value expressions. It can be exposed to the
request context after the JSF component tree build, so that
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.
- Since:
- 5.4
- Author:
- Anahide Tchertchian
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REQUEST_MARKER
public static final java.lang.String REQUEST_MARKER
AliasVariableMapper
public AliasVariableMapper()
AliasVariableMapper
public AliasVariableMapper(java.lang.String id)
getId
public java.lang.String getId()
setId
public void setId(java.lang.String id)
resolveVariable
public javax.el.ValueExpression resolveVariable(java.lang.String variable)
- Specified by:
resolveVariable
in class javax.el.VariableMapper
setVariable
public javax.el.ValueExpression setVariable(java.lang.String variable,
javax.el.ValueExpression expression)
- Specified by:
setVariable
in class javax.el.VariableMapper
getVariableMapperForBuild
public javax.el.VariableMapper getVariableMapperForBuild(javax.el.VariableMapper orig)
getVariables
public java.util.Map<java.lang.String,javax.el.ValueExpression> getVariables()
getVariableMapper
public static AliasVariableMapper getVariableMapper(javax.faces.context.FacesContext facesContext,
java.lang.String id)
exposeAliasesToRequest
public static void exposeAliasesToRequest(javax.faces.context.FacesContext facesContext,
AliasVariableMapper vm)
removeAliasesExposedToRequest
public static void removeAliasesExposedToRequest(javax.faces.context.FacesContext facesContext,
java.lang.String id)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.