| Xavax Custom JSF Library | Tag Index Overview |
The x:row tag encloses a row of a table.
A row may contain one or more
x:heading or
x:column tags.
| Inherited Attributes | |
| Core Attributes | inherited from AbstractTag |
| Table Element Attributes | inherited from TableElementTag |
| Example |
<x:table alignment="center" borderWidth="2">
<x:row>
<x:heading>
<h:outputText value="First Name"/>
</x:heading>
<x:heading>
<h:outputText value="Last Name"/>
</x:heading>
</x:row>
<x:row>
<x:column>
<h:outputText value="Mario"/>
</x:column>
<x:column>
<h:outputText value="Andretti"/>
</x:column>
</x:row>
<x:row>
<x:column>
<h:outputText value="James"/>
</x:column>
<x:column>
<h:outputText value="Clark"/>
</x:column>
</x:row>
<x:row>
<x:column>
<h:outputText value="Emmerson"/>
</x:column>
<x:column>
<h:outputText value="Fittipaldi"/>
</x:column>
</x:row>
<x:row>
<x:column>
<h:outputText value="Mika"/>
</x:column>
<x:column>
<h:outputText value="Hakkinen"/>
</x:column>
</x:row>
<x:row>
<x:column>
<h:outputText value="Ayrton"/>
</x:column>
<x:column>
<h:outputText value="Senna"/>
</x:column>
</x:row>
<x:row>
<x:heading>
<h:outputText value="First Name"/>
</x:heading>
<x:heading>
<h:outputText value="Last Name"/>
</x:heading>
</x:row>
</x:table>
The preceeding example produces the following table.
| First Name | Last Name |
|---|---|
| Mario | Andretti |
| James | Clark |
| Emmerson | Fittipaldi |
| Mika | Hakkinen |
| Ayrton | Senna |