org.nuxeo.ecm.platform.ui.web.binding.alias
Class AliasTagHandler
java.lang.Object
com.sun.facelets.tag.TagHandler
com.sun.facelets.tag.MetaTagHandler
org.nuxeo.ecm.platform.ui.web.binding.alias.AliasTagHandler
- All Implemented Interfaces:
- com.sun.facelets.FaceletHandler
- Direct Known Subclasses:
- SetTagHandler
public class AliasTagHandler
- extends com.sun.facelets.tag.MetaTagHandler
Tag handler that exposes variables to the variable map. Behaviour is close
to the c:set tag handler except:
- It handles several variables
- It allows caching a variable using cache parameter: variable will be
resolved the first time is is called and will be put in the context after
- The resolved variable is removed from context when tag is closed to
avoid filling the context with it
- Variables are made available in the request context after the JSF
component tree build thanks to a backing component.
The backing component value expressions are changed even if the component
was found to ensure a good resolution even when re-rendering the tag using
ajax.
- Since:
- 5.4
- Author:
- Anahide Tchertchian
Methods inherited from class com.sun.facelets.tag.TagHandler |
toString |
AliasTagHandler
public AliasTagHandler(com.sun.facelets.tag.TagConfig config,
Map<String,ValueExpression> variables)
apply
public void apply(com.sun.facelets.FaceletContext ctx,
UIComponent parent)
throws IOException,
FacesException,
com.sun.facelets.FaceletException,
ELException
- Throws:
IOException
FacesException
com.sun.facelets.FaceletException
ELException
apply
public void apply(com.sun.facelets.FaceletContext ctx,
UIComponent parent,
AliasVariableMapper alias)
throws IOException,
FacesException,
com.sun.facelets.FaceletException,
ELException
- Throws:
IOException
FacesException
com.sun.facelets.FaceletException
ELException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.