nxl
Tag layoutRow
Facelet tag handler that iterates over layout rows in a layout template.
When rendered, some variables are exposed to the resolution context and can be used inside the tag:
- 'layoutRow' and since 5.3.1, alias 'layoutColumn' reference the current layout row or column.
- 'layoutRowIndex' and since 5.3.1, alias 'layoutColumnIndex' reference its index in the layout list of rows/columns.
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.