org.nuxeo.ecm.platform.forms.layout.facelets
Class WidgetTagHandler
java.lang.Object
com.sun.facelets.tag.TagHandler
com.sun.facelets.tag.MetaTagHandler
org.nuxeo.ecm.platform.forms.layout.facelets.WidgetTagHandler
- All Implemented Interfaces:
- com.sun.facelets.FaceletHandler
public class WidgetTagHandler
- extends com.sun.facelets.tag.MetaTagHandler
Widget tag handler.
Applies WidgetTypeHandler
found for given widget, in given mode and
for given value.
- Author:
- Anahide Tchertchian
Methods inherited from class com.sun.facelets.tag.TagHandler |
toString |
WidgetTagHandler
public WidgetTagHandler(com.sun.facelets.tag.TagConfig config)
apply
public void apply(com.sun.facelets.FaceletContext ctx,
UIComponent parent)
throws IOException,
FacesException,
ELException
- Renders given widget resolving its
FaceletHandler
from
WebLayoutManager
configuration.
Variables exposed: RenderVariables.globalVariables.value
, same
variable suffixed with "_n" where n is the widget level, and
RenderVariables.globalVariables.document
.
- Throws:
IOException
FacesException
ELException
generateWidgetIdsRecursive
public static void generateWidgetIdsRecursive(FaceletHandlerHelper helper,
Widget widget)
applyWidgetHandler
public static void applyWidgetHandler(com.sun.facelets.FaceletContext ctx,
UIComponent parent,
com.sun.facelets.tag.TagConfig config,
Widget widget,
com.sun.facelets.tag.TagAttribute value,
boolean fillVariables)
throws IOException
- Throws:
IOException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.