Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.ui.web.tag.handler
Class RepeatTagHandler

java.lang.Object
  extended by com.sun.facelets.tag.TagHandler
      extended by org.nuxeo.ecm.platform.ui.web.tag.handler.RepeatTagHandler
All Implemented Interfaces:
com.sun.facelets.FaceletHandler

public class RepeatTagHandler
extends com.sun.facelets.tag.TagHandler

Repeat handler.

This handler is different from the standard one because it performs a real iteration on the tree structure, instead of keeping the same components and saving their state in each of the iteration.

A real iteration is the only viable solution when using variables that will have an impact on the tree structure, like a layout name and mode.

Author:
Anahide Tchertchian

Constructor Summary
RepeatTagHandler(com.sun.facelets.tag.TagConfig config)
           
 
Method Summary
 void apply(com.sun.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent)
           
 
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

RepeatTagHandler

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

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
Throws:
java.io.IOException
javax.faces.FacesException
com.sun.facelets.FaceletException
javax.el.ELException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.