In plain html, when I want to point-out a table row, I just write:
<tr onmouseover="javaScript_(jQuery)_Code_To_Add_Pointed_Out_Class"
onmouseout="javaScript_(jQuery)_Code_To_Remove_Pointed_Out_Class">
...
</tr>
Is there a way to do this in a <h:dataTable> for JSF?
Something with Primefaces or what else?
Styling is to be done by CSS. E.g.
with
JavaScript hacks like in your question example are only necessary for ancient browsers which are already deprecated for long now.