3 Replies Latest reply on May 21, 2007 5:47 AM by Hannes Schulz

    Question on rendering a @Datamodel

    Hannes Schulz Newbie


      Is there a way to set the styleClass of a <h:dataTable> for a special row when a @Datamodel is rendered?

      In my case some objects that the Set contains, can be special and i want to render them in a row as:

      <tr class="special">

      I wrote a method in the objects class

      public boolean isSpecial() {
       // return true or false

      is there a way i can realize that?

      Thanks for help,