org.nuxeo.ecm.platform.ui.web.tag.handler
Class SetTagHandler
java.lang.Object
com.sun.facelets.tag.TagHandler
com.sun.facelets.tag.MetaTagHandler
org.nuxeo.ecm.platform.ui.web.binding.alias.AliasTagHandler
org.nuxeo.ecm.platform.ui.web.tag.handler.SetTagHandler
- All Implemented Interfaces:
- com.sun.facelets.FaceletHandler
public class SetTagHandler
- extends AliasTagHandler
Tag handler that exposes a variable to the variable map. Behaviour is close
to the c:set tag handler except:
- 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
- Since 5.4, variables are made available in the request context after the
JSF component tree build thanks to a backing component.
- Since:
- 5.3.1
- Author:
- Anahide Tchertchian
Constructor Summary |
SetTagHandler(com.sun.facelets.tag.TagConfig config)
|
Method Summary |
void |
apply(com.sun.facelets.FaceletContext ctx,
UIComponent parent)
|
Methods inherited from class com.sun.facelets.tag.TagHandler |
toString |
SetTagHandler
public SetTagHandler(com.sun.facelets.tag.TagConfig config)
apply
public void apply(com.sun.facelets.FaceletContext ctx,
UIComponent parent)
throws IOException,
FacesException,
com.sun.facelets.FaceletException,
ELException
- Specified by:
apply
in interface com.sun.facelets.FaceletHandler
- Overrides:
apply
in class AliasTagHandler
- Throws:
IOException
FacesException
com.sun.facelets.FaceletException
ELException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.