Use t:panelGrid, t:panelGroup.
These are MyFaces Tomahawk components and support the colspan attribute.
When you use t:panelGroup you HAVE to you use t:panelGrid, h:panelGrid does not support colspan.
<t:panelGrid columns="2"> <h:outputText value="row 1 column 1"/> <h:outputText value="row 1 column 2"/> <t:panelGroup colspan="2"> <h:outputText value="row 2 - complete"/> </t:panelGroup> </t:panelGrid>
thank for your answer.
I didn't know that Tomahawk provides this components, but whatever, our politic is to limit the number of framework used in our application in order to prevent compatibilities problems.
Is there anyway to do this with RichFaces ? Or will these kind of such useful components be provided one day ?
Maybe I am posting in the wrong forum.
at our demosite - there is dataTable example which created using col, rowspan and breakBefore attributes.