0 Replies Latest reply on Dec 24, 2007 6:00 AM by Christoph Steiner

    Problem: rich:datatable not rendered correctly and no style

    Christoph Steiner Newbie

      Hi,

      I try to use Rich datatable with Richfaces 3.1.0 and RH Dev Studio Rc 1. In the Visual Preview of Rh Dev Studio the table is rendered correctly (Headers and footers work), when i deploy it to Tomcat 6 headers are joined with the column values and footers are not displayed, also the default stylesheet Bluesky is not applied.

      Code from my page:
      rich:dataTable value="#{testBean.list}" var="book" >
      <rich:column>
      <f:facet name="header">ID</f:facet>
      <h:outputText value="#{book.id}"></h:outputText>
      </rich:column>
      <rich:column>
      <f:facet name="header">Title</f:facet>
      <h:outputText value="#{book.title}"></h:outputText>
      </rich:column>
      <rich:column>
      <f:facet name="header">Pages</f:facet>
      <h:outputText value="#{book.pages}"></h:outputText>
      <f:facet name="footer">Test</f:facet>
      </rich:column>
      </rich:dataTable>

      web.xml:

      <context-param>
      <param-name>org.richfaces.SKIN</param-name>
      <param-value>blueSky</param-value>
      </context-param>

      <display-name>RichFaces Filter</display-name>
      <filter-name>richfaces</filter-name>
      <filter-class>org.ajax4jsf.Filter</filter-class>

      <filter-mapping>
      <filter-name>richfaces</filter-name>
      <servlet-name>Faces Servlet</servlet-name>
      REQUEST
      FORWARD
      INCLUDE
      </filter-mapping>

      Thanks in advance,

      Christoph