Nuxeo Enterprise Platform 5.4

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

java.lang.Object
  extended by com.sun.facelets.tag.TagHandler
      extended by org.nuxeo.ecm.platform.forms.layout.facelets.LayoutTagHandler
All Implemented Interfaces:
com.sun.facelets.FaceletHandler

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

Layout tag handler.

Computes a layout in given facelet context, for given mode and value attributes. The layout can either be computed from a layout definition, or by a layout name, where the ayout service will lookup the corresponding definition.

If a template is found for this layout, include the corresponding facelet and use facelet template features to iterate over rows and widgets.

Author:
Anahide Tchertchian

Constructor Summary
LayoutTagHandler(com.sun.facelets.tag.TagConfig config)
           
 
Method Summary
 void apply(com.sun.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent)
          If resolved layout has a template, apply it, else apply widget type handlers for widgets, ignoring rows.
 
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

LayoutTagHandler

public LayoutTagHandler(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
If resolved layout has a template, apply it, else apply widget type handlers for widgets, ignoring rows.

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.