0 Replies Latest reply on Oct 10, 2011 9:50 AM by bugbusta

    rich:extendedDataTable selectedClass behavior

    bugbusta

      It seems that with RichFaces 4.0.0 the selectedClass attribute of the rich:extendedDataTable component is not working.

      It worked fine on RichFaces 3.3.3, but not I think it is simply ignored.

       

      I tested it with this simple example:

       

      <rich:extendedDataTable

                id="edt"

                value="#{edtBean.items}"

                var="item"

                rows="5"

                selectionMode="single"

                selection="#{extendedDataTableBackBean.selection}"

                selectedClass="edtSelectedClass">

       

                <rich:column width="180px" >

                          <f:facet name="header">

                                    <h:outputText value="Name" />

                          </f:facet>

                          <h:outputText value="#{item}" />

                </rich:column>

       

      </rich:extendedDataTable>

       

       

       

      The selected row class does change, but it gains the rf-edt-r-sel rf-edt-r-act classes, nothing about the one specified in the selectedClass.