html - JSF dataTable as CSS table with clickable rows? -
html - JSF dataTable as CSS table with clickable rows? -
related questions have been asked there not yet solid/acceptable answer, thought re-phrase , clarify:
is there way within jsf populate datatable
or related query-result component without re-writing renderers w3c css table? must enable clickable rows , row (versus column) styling a:hover, etc.
example of desired rendered jsf component html query:
<div class="table"> <a href="#" class="row"> <span class="cell">column-1-value</span> <span class="cell">column-2-value</span> </a> ... </div>
thanks input provided, finish reply (versus in comments) tested in java ee/jsf container:
<div class="table"> <ui:repeat value="#{backingbean.list}" var="item"> <h:outputlink value="url"> <f:param name="id" value="#{item.id}"/> <span class="cell">#{item.id}</span> <span class="cell">#{item.name}</span> </h:outputlink> </ui:repeat> </div>
the above can styled using css/3 display:table
, display:table-row
, display:table-cell
; respectively. row clickable , can styled desired.
html jsf css3
Comments
Post a Comment