org.nuxeo.ecm.platform.forms.layout.facelets
Class LayoutTagHandler
java.lang.Object
com.sun.facelets.tag.TagHandler
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
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 |
LayoutTagHandler
public LayoutTagHandler(com.sun.facelets.tag.TagConfig config)
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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.