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
.
Modifier and Type | Field and Description |
---|---|
protected javax.faces.view.facelets.TagConfig |
config |
protected javax.faces.view.facelets.TagAttribute |
recomputeIds |
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.
|
protected void |
applyCompat(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent) |
protected void |
applyOptimized(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent) |
protected String |
getInstanceName() |
protected final javax.faces.view.facelets.TagConfig config
protected final javax.faces.view.facelets.TagAttribute recomputeIds
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
protected void applyOptimized(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent) throws IOException, javax.faces.FacesException, javax.faces.view.facelets.FaceletException, javax.el.ELException
IOException
javax.faces.FacesException
javax.faces.view.facelets.FaceletException
javax.el.ELException
protected String getInstanceName()
protected void applyCompat(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent) throws IOException, javax.faces.FacesException, javax.faces.view.facelets.FaceletException, javax.el.ELException
IOException
javax.faces.FacesException
javax.faces.view.facelets.FaceletException
javax.el.ELException
Copyright © 2018 Nuxeo. All rights reserved.