public class LayoutRowWidgetTagHandler
extends com.sun.facelets.tag.TagHandler
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
.
Constructor and Description |
---|
LayoutRowWidgetTagHandler(com.sun.facelets.tag.TagConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
apply(com.sun.facelets.FaceletContext ctx,
UIComponent parent)
For each widget in current row, exposes widget variables and applies
next handler.
|
public LayoutRowWidgetTagHandler(com.sun.facelets.tag.TagConfig config)
public void apply(com.sun.facelets.FaceletContext ctx, UIComponent parent) throws IOException, FacesException, com.sun.facelets.FaceletException, ELException
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
.
IOException
FacesException
com.sun.facelets.FaceletException
ELException
Copyright © 2013 Nuxeo SA. All Rights Reserved.