2 Replies Latest reply on Dec 9, 2014 3:01 AM by Martin Höller

    Is rowClasses-attribute working for <rich:list>?

    Martin Höller Newbie

      Hi!

       

      What I want to do is create a data list with different styles for odd/even rows. I have the following code:


        <rich:list value="..." rowClasses="odd even" var="e">

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

        </rich:list>


      But the resulting HTML code doesn't contain "odd" or "even" style-classes. According to the VDL documentation, the provided row-classes should be applied to the different rows.


      Is this feature buggy or am I using it the wrong way?


      Many thanks,

      - martin