Related questions have been asked but as there is not as yet any solid/acceptable answer, I thought I would re-phrase and clarify:
Is there a way within JSF to populate a dataTable or related query-result component without re-writing renderers as a W3C CSS table? This must enable clickable rows and row (versus column) styling a:hover, etc.
Example of desired rendered JSF component HTML from a query:
<div class="table">
<a href="#" class="row">
<span class="cell">Column-1-Value</span>
<span class="cell">Column-2-Value</span>
</a>
...
</div>
<ui:repeat>to render each row.datatableor using<c:forEach>?<h:dataTable>will generate a<table>HTML component. So, if you want to avoid this and display your data using<div>, you can use<ui:repeat>to iterate through yourList<Data>elements and build your table using plain HTML elements. As a sample:<div class="table>"<ui:repeat value="#{bean.lstData}" value="data"><a href="#" class="row"><span class="cell">#{data.Value1}</span><span class="cell">#{data.Value2}</span></a></ui:repeat></div><ui:repeat>schema.<h:dataTable>doesn't have anitemsattribute at all. The<c:forEach>has.