nxl
Tag layout


Facelet tag handler that renders a layout in a given mode.

When rendered, some variables are exposed to the resolution context and can be used within the template attached to the layout.

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


Example:
<nxl:layout name="dublincore" mode="#{myMode}" value="#{myObject}" /> or <nxl:layout definition="#{myLayoutDefinition}" mode="#{myMode}" value="#{myObject}" />


Tag Information
Tag ClassNone
TagExtraInfo ClassNone
Body ContentNone
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
namefalsefalsejava.lang.StringName of the layout as registered on the pluggable layout system. Required if the attribute 'definition' is not filled. Since 5.6, also accepts a list of layout names, separated by commas.
categorytruefalsejava.lang.StringCategory of the layout (optional). Available since 5.5.
definitionfalsefalseorg.nuxeo.ecm.platform.forms.layout.api.LayoutDefinitionLayout definition as it would be retrieved from the layout store service. This attribute is required if the name attribute is not filled: it makes it possible to render a layout generated dynamically. Available since 5.4.2.
modetruefalsejava.lang.StringMode in which layout must be rendered.
valuetruefalsejava.lang.StringThe value on which layout will apply.
templatefalsefalsejava.lang.StringThe template to use for this layout, overriding the template declared in the layout definition.
selectedRowsfalsefalsejava.util.ListString list of row names that are selected. If not null, the layout rows will be filtered according to this list. If null, only the rows marked as selected by default will be taken into account, unless attribute selectAllByDefault is set to true. Defaults to null. Is available since version 5.4.
selectedColumnsfalsefalsejava.util.ListAlias of selectedRows attribute.
selectAllByDefaultfalsefalsejava.lang.BooleanBoolean indicating if all rows should be considered selected by default. Will have an impact only if attribute selectedRows or alias selectedColumns resolve to a null value. Defaults to false. Is available since version 5.4.

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.