public class LayoutRowWidgetTagHandler
extends javax.faces.view.facelets.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(javax.faces.view.facelets.TagConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
For each widget in current row, exposes widget variables and applies next handler.
|
public LayoutRowWidgetTagHandler(javax.faces.view.facelets.TagConfig config)
public void apply(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent) throws IOException, javax.faces.FacesException, javax.faces.view.facelets.FaceletException, javax.el.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
javax.faces.FacesException
javax.faces.view.facelets.FaceletException
javax.el.ELException
Copyright © 2015 Nuxeo SA. All rights reserved.