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,
javax.faces.component.UIComponent parent)
For each row in layout, exposes row variables and applies next handler. |
Methods inherited from class com.sun.facelets.tag.TagHandler |
toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LayoutRowTagHandler
public LayoutRowTagHandler(com.sun.facelets.tag.TagConfig config)
apply
public void apply(com.sun.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
throws java.io.IOException,
javax.faces.FacesException,
com.sun.facelets.FaceletException,
javax.el.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:
java.io.IOException
javax.faces.FacesException
com.sun.facelets.FaceletException
javax.el.ELException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.