I need this HTML output:
<tr>
<th>...</th>
<td>...</td>
<td>...</td>
</tr>
<tr>
<th>...</th>
<td>...</td>
<td>...</td>
</tr>
etc...
I don't do JSF much and here's the JSF I'm working with:
<h:dataTable>
<h:column>...</h:column>
<h:column>...</h:column>
<h:column>...</h:column>
</h:dataTable>
That, alas, doesn't give me any THs just 3 TDs. So I then tried this:
<h:dataTable>
<h:column><f:facet name="header">...</f:facet></h:column>
<h:column>...</h:column>
<h:column>...</h:column>
</h:dataTable>
But that only gives me a TH in the first row, not every subsequent row.
Is there a way to do with with JSF without having to write some custom component of some sorts?