Nuxeo Enterprise Platform 5.4

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

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

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

Document layout tag handler.

Computes layouts in given facelet context, for given mode and document attributes.

Document must be resolved at the component tree construction so it cannot be bound to an iteration value.

Author:
Anahide Tchertchian

Constructor Summary
DocumentLayoutTagHandler(com.sun.facelets.tag.TagConfig config)
           
 
Method Summary
 void apply(com.sun.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent)
          If resolved document has layouts, apply each of them.
 
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

DocumentLayoutTagHandler

public DocumentLayoutTagHandler(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 document has layouts, apply each of them.

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.