nxl
Tag layoutRowWidget
Facelet tag handler that iterates over widgets in a layoutRow tag, in a layout template.
When rendered, some variables are exposed to the resolution context and can be used inside the tag:
- 'widget' or 'widget_0' references the current widget, 0 being its level in the widgets hierarchy.
- 'widgetIndex' references its index in the layout row list of widgets.
Example:
<table class="dataInput"> <tbody> <nxl:layoutRow> <tr> <nxl:layoutRowWidget> <td class="labelColumn"> <h:outputText value="#{widget.label}" rendered="#{!widget.translated}" /> <h:outputText value="#{messages[widget.label]}" rendered="#{widget.translated}" /> </td> <td class="fieldColumn"> <nxl:widget widget="#{widget}" mode="#{widget.mode}" value="#{value}" /> </td> </nxl:layoutRowWidget> </tr> </nxl:layoutRow> </tbody> </table>
Tag Information |
Tag Class | None |
TagExtraInfo Class | None |
Body Content | empty |
Display Name | None |
Attributes |
No Attributes Defined. |
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.