nxl
Tag documentLayout


Facelet tag handler that renders all layouts attached to a document in a given mode.

Layouts are built using the document type definition. This tag is equivalent to rendering each layout in given mode, using document as value.

Any additional property set on the tag and that is not explicitely in the list of handled attributes is added to each of the layouts properties, overriding properties that already set in the layout definitions.


Example:
<nxl:documentLayout mode="#{myMode}" value="#{myDocument}" />


Tag Information
Tag ClassNone
TagExtraInfo ClassNone
Body ContentNone
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
modetruefalsejava.lang.StringMode in which layouts must be taken on the document definition, as well as rendered if attribute "documentMode" is not defined.
documentModefalsefalsejava.lang.StringMode in which layouts must be taken on the document definition, if defined (otherwise, will use the "mode" attribute value).
valuetruefalseorg.nuxeo.ecm.core.api.DocumentModelThe document for which layouts will be built and rendered.
templatefalsefalsejava.lang.StringThe template to use for layouts, overriding each of the templates declared in the layouts definitions.
defaultLayoutfalsefalsejava.lang.StringThe default layout to be rendered if no layout is found on the document definition. Available since 5.4.2.
includeAnyModefalsefalsejava.lang.BooleanBoolean indicating if layouts declared in the 'any' mode on the document definition should be used if no layout is found for the wanted mode. Defaults to true. Available since 5.4.2.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.