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
Method Summary |
void |
apply(com.sun.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
Renders given widget resolving its FaceletHandler from
WebLayoutManager configuration. |
static void |
applyWidgetHandler(com.sun.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
com.sun.facelets.tag.TagConfig config,
Widget widget,
com.sun.facelets.tag.TagAttribute value,
boolean fillVariables)
|
static void |
generateWidgetIdsRecursive(FaceletHandlerHelper helper,
Widget widget)
|
Methods inherited from class com.sun.facelets.tag.TagHandler |
toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WidgetTagHandler
public WidgetTagHandler(com.sun.facelets.tag.TagConfig config)
apply
public void apply(com.sun.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
throws java.io.IOException,
javax.faces.FacesException,
javax.el.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:
java.io.IOException
javax.faces.FacesException
javax.el.ELException
generateWidgetIdsRecursive
public static void generateWidgetIdsRecursive(FaceletHandlerHelper helper,
Widget widget)
applyWidgetHandler
public static void applyWidgetHandler(com.sun.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
com.sun.facelets.tag.TagConfig config,
Widget widget,
com.sun.facelets.tag.TagAttribute value,
boolean fillVariables)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.