Nuxeo ECM Projects 5.4.3-SNAPSHOT

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 layout 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, 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,
                  UIComponent parent)
           throws IOException,
                  FacesException,
                  ELException
If resolved layout has a template, apply it, else apply widget type handlers for widgets, ignoring rows.

Throws:
IOException
FacesException
ELException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.