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