public class DocumentLayoutTagHandler extends javax.faces.view.facelets.TagHandler
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.
Modifier and Type | Field and Description |
---|---|
protected javax.faces.view.facelets.TagConfig |
config |
protected javax.faces.view.facelets.TagAttribute |
defaultLayout |
protected javax.faces.view.facelets.TagAttribute |
documentMode |
protected javax.faces.view.facelets.TagAttribute |
documentModeFallback |
protected javax.faces.view.facelets.TagAttribute |
includeAnyMode |
protected javax.faces.view.facelets.TagAttribute |
mode |
protected String[] |
reservedVarsArray |
protected javax.faces.view.facelets.TagAttribute |
template |
protected javax.faces.view.facelets.TagAttribute |
value |
protected javax.faces.view.facelets.TagAttribute[] |
vars |
Constructor and Description |
---|
DocumentLayoutTagHandler(javax.faces.view.facelets.TagConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
If resolved document has layouts, apply each of them.
|
protected final javax.faces.view.facelets.TagConfig config
protected final javax.faces.view.facelets.TagAttribute mode
protected final javax.faces.view.facelets.TagAttribute documentMode
protected final javax.faces.view.facelets.TagAttribute documentModeFallback
protected final javax.faces.view.facelets.TagAttribute value
protected final javax.faces.view.facelets.TagAttribute template
protected final javax.faces.view.facelets.TagAttribute defaultLayout
protected final javax.faces.view.facelets.TagAttribute includeAnyMode
protected final javax.faces.view.facelets.TagAttribute[] vars
protected final String[] reservedVarsArray
public DocumentLayoutTagHandler(javax.faces.view.facelets.TagConfig config)
public void apply(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent) throws IOException, javax.faces.FacesException, javax.el.ELException
IOException
javax.faces.FacesException
javax.el.ELException
Copyright © 2018 Nuxeo. All rights reserved.