1 Reply Latest reply on Aug 27, 2008 10:57 AM by Mikael Andersson

    onMouseOver and rich:dataTable - no effect

    Chris Simons Expert

      I am following examples from the RichFaces live demo for the rich:dataTable component.

      I've tried different colors and different tables and I cannot get the mouseOver and mouseOut attributes to trigger. Is this a bug?

      I'm using RichFaces 3.2.1., Seam 2.0GA.

      Example code:

      <rich:dataTable
       id="emergencyContacts"
       var="emergencyContact"
       value="#{cvUser.userProfile.emergencyContacts}"
       border="0"
       rendered="true"
       rowClasses="oddRows, evenRows"
       rows="#{englinkUtil.getDefaultDataTableRows(facesContext, null)}"
       onMouseOver="this.style.backgroundColor='#F1F1F1'"
       onMouseOut="this.style.backgroundColor='Black'"
       sortMode="single"
       width="#{globals['dataTable.width.default']}">