org.nuxeo.ecm.platform.forms.layout.facelets
Class LayoutRowTagHandler
java.lang.Object
com.sun.facelets.tag.TagHandler
org.nuxeo.ecm.platform.forms.layout.facelets.LayoutRowTagHandler
- All Implemented Interfaces:
- com.sun.facelets.FaceletHandler
public class LayoutRowTagHandler
- extends com.sun.facelets.tag.TagHandler
Layout row recursion tag handler.
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.
- Author:
- Anahide Tchertchian
Method Summary |
void |
apply(com.sun.facelets.FaceletContext ctx,
UIComponent parent)
For each row in layout, exposes row variables and applies next handler. |
Methods inherited from class com.sun.facelets.tag.TagHandler |
toString |
LayoutRowTagHandler
public LayoutRowTagHandler(com.sun.facelets.tag.TagConfig config)
apply
public void apply(com.sun.facelets.FaceletContext ctx,
UIComponent parent)
throws IOException,
FacesException,
ELException
- For each row in layout, exposes row variables and applies next handler.
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.
- Throws:
IOException
FacesException
ELException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.