| Xavax Custom JSF Library | Tag Index Overview |
The x:heading tag encloses the contents
of a column heading which can consist of zero or more JSF tags.
The x:heading tag must always be nested within an
x:row tag.
| Inherited Attributes | |
| Core Attributes | inherited from AbstractTag |
| Table Element Attributes | inherited from TableElementTag |
| Column Attributes | inherited from ColumnTag |
| Example |
<x:table alignment="center" borderWidth="2">
<x:row>
<x:heading columnSpan="2">
<h:outputText value="Heading 1">
</x:heading>
<x:heading>
<h:outputText value="Heading 2">
</x:heading>
</x:row>
<x:row>
<x:heading rowSpan="2">
<h:outputText value="Heading 3">
</x:heading>
<x:column>
<h:outputText value="Cell 2.2">
</x:column>
<x:column>
<h:outputText value="Cell 2.3">
</x:column>
</x:row>
<x:row>
<x:column>
<h:outputText value="Cell 3.2">
</x:column>
<x:column>
<h:outputText value="Cell 3.3">
</x:column>
</x:row>
</x:table>
The preceeding example produces the following table.
| Heading 1 | Heading 2 | |
|---|---|---|
| Heading 3 | Cell 2.2 | Cell 2.3 |
| Cell 3.2 | Cell 3.3 | |