public class LayoutRowTagHandler extends javax.faces.view.facelets.TagHandler
Iterate over the layout rows and apply next handlers as many times as needed.
Only works when used inside a tag using the LayoutTagHandler
template client.
Modifier and Type | Field and Description |
---|---|
protected javax.faces.view.facelets.TagConfig |
config |
Constructor and Description |
---|
LayoutRowTagHandler(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 row in layout, exposes row variables and applies next handler.
|
protected final javax.faces.view.facelets.TagConfig config
public LayoutRowTagHandler(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.el.ELException
Needs layout to be exposed in context, so works in conjunction with LayoutTagHandler
.
Row variables exposed: RenderVariables.rowVariables.layoutRow
and
RenderVariables.rowVariables.layoutRowIndex
, as well as
RenderVariables.columnVariables.layoutColumn
and
RenderVariables.columnVariables.layoutColumnIndex
, that act are aliases.
IOException
javax.faces.FacesException
javax.el.ELException
Copyright © 2015 Nuxeo SA. All rights reserved.