org.nuxeo.ecm.platform.forms.layout.facelets
Class LayoutRowWidgetTagHandler
java.lang.Object
com.sun.facelets.tag.TagHandler
org.nuxeo.ecm.platform.forms.layout.facelets.LayoutRowWidgetTagHandler
- All Implemented Interfaces:
- com.sun.facelets.FaceletHandler
public class LayoutRowWidgetTagHandler
- extends com.sun.facelets.tag.TagHandler
Layout widget recursion tag handler.
Iterates over a layout row widgets and apply next handlers as many times as
needed.
Only works when used inside a tag using the LayoutRowTagHandler
.
- Author:
- Anahide Tchertchian
Method Summary |
void |
apply(com.sun.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
For each widget in current row, exposes widget variables and applies
next handler. |
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 |
LayoutRowWidgetTagHandler
public LayoutRowWidgetTagHandler(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,
com.sun.facelets.FaceletException,
javax.el.ELException
- For each widget in current row, exposes widget variables and applies
next handler.
Needs row to be exposed in context, so works in conjunction with
LayoutRowTagHandler
.
Widget variables exposed: RenderVariables.widgetVariables.widget
,
same variable suffixed with "_n" where n is the widget level, and
RenderVariables.widgetVariables.widgetIndex
.
- Throws:
java.io.IOException
javax.faces.FacesException
com.sun.facelets.FaceletException
javax.el.ELException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.