3 Replies Latest reply on Nov 20, 2009 7:29 AM by Ilya Shaikovsky

    extendedDataTable header and table body columns have differe

    Zdeněk Zikán Newbie

      Hello world

      When I create extendedDataTable (I don't have this problem with regular dataTable), columns have different width in table header and table body. I experience this behaviour in Opera 10.01 (Linux), Firefox 3.5 (Linux) and IE6/7 (Wine) seem not to be affected. I am using latest RichFaces 3.3.2.SR1.

      Below is example simple page:

      <?xml version='1.0' encoding='UTF-8'?>
      <jsp:root version="2.1"
       xmlns:jsp="http://java.sun.com/JSP/Page"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:rich="http://richfaces.org/rich">
      <jsp:directive.page contentType="text/html" />
      
      <f:view>
      <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
       <body>
       <rich:extendedDataTable id="traceablesTable" value="#{dataUpdateBean.traceables}" var="row">
       <rich:column sortBy="#{row.id}" filterBy="#{row.id}">
       <f:facet name="header">
       <h:outputText value="ID"/
       </f:facet>
       <h:outputText value="#{row.id}"/>
       </rich:column>
       <rich:column sortBy="#{row.timestamp}" filterBy="#{row.timestamp}">
       <f:facet name="header">
       <h:outputText value="Timestamp"/>
       </f:facet>
       <h:outputText value="#{row.timestamp}"/>
       </rich:column>
       </rich:extendedDataTable>
       </body>
      </html>
      </f:view>
      </jsp:root>


      And here is screenshot of the result in Opera: http://zdenek.oukej.cz/share/richfaces-extendedDataTable-bug-opera.png