3 Replies Latest reply on Aug 31, 2009 5:29 AM by Nick Belaevski

    Error in JSF Richfaces DataTable


      Hello out there,

      I have a big Problem.
      I am trying to style a richfaces datatable with CSS.
      On the webpage "http://docs.jboss.org/richfaces/3.3.1.GA/en/devguide/html/rich_dataTable.html" is an example that I tried out, but it doesn't work for me. (It's the example about changing rich-table-cell and headerClass.)

      My JSF Code snippet:

      <rich:dataTable id="someId" value="#{Bean.Field}" var="field" headerClass="myClass" >
      <!-- content is irrelevant -->

      My CSS Code snippet:


      The first class (changing the table-cell into a bold font) works properly, but as soon as I insert the "myClass" into the JSF Page, I get the following error:

      javax.servlet.ServletException: object is not an instance of declaring class

      ... (and some more)

      I hope that anybody can help me with this!

      Thanks for any guesses oder hints.

      Greetings, Versed