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.
- 'layout' references the computed layout.
- 'value' or 'layoutValue' references the given value, so that it can be used in the widget properties definitions, for instance. The 'value' variable is updated to the value passed to widget tag in a widget rendering context.
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}" />
Tag Information |
Tag Class | None |
TagExtraInfo Class | None |
Body Content | None |
Display Name | None |
Attributes |
Name | Required | Request-time | Type | Description |
name | true | false | java.lang.String | Name of the layout as registered on the pluggable layout system. |
mode | true | false | java.lang.String | Mode in which layout must be rendered. |
value | true | false | java.lang.String | The value on which layout will apply. |
template | false | false | java.lang.String | The template to use for this layout, overriding the template declared in the layout definition. |
selectedRows | false | false | java.util.List | String 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. |
selectedColumns | false | false | java.util.List | Alias of selectedRows attribute. |
selectAllByDefault | false | false | java.lang.Boolean | Boolean 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.