Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.forms.layout.facelets
Class LayoutRowTagHandler

java.lang.Object
  extended by com.sun.facelets.tag.TagHandler
      extended by 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

Constructor Summary
LayoutRowTagHandler(com.sun.facelets.tag.TagConfig config)
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LayoutRowTagHandler

public LayoutRowTagHandler(com.sun.facelets.tag.TagConfig config)
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.