0 Replies Latest reply on Sep 29, 2008 9:19 AM by Sébastien Doncker

    Problem with scrollingDataTable and css @IMPORT

    Sébastien Doncker Newbie


      I have a problem with a scrollingDatatable not displaying its header.
      I test and found a connection between a @IMPORT in my css and the header displaying.

      When I have a @IMPORT in my css (even if this import leads to an empty CSS file), the scrollingDatatable header is not displayed.
      When I haven't @IMPORT in my css, the scrollingDatatable header is well displayed.

      Do you know if this is a bug ? or if there is a work around ? or something I do wrong ?

      For information, I use RichFaces 3.2.1.GA, JBoss 4.2.2 and Seam 2.0.3 CR1.
      Here is a simple sample of my code.

      main.css :

      @IMPORT url("test.css");

      test.css :
      body {
       background-color: red;

      index.xhtml :
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      <html xmlns="http://www.w3.org/1999/xhtml"
       <link href="main.css" rel="stylesheet" type="text/css" />
       <rich:scrollableDataTable value="#{myBean.data}" var="data" width="500px" height="200px">
       <f:facet name="header">
       <h:outputText value="name"/>
       <h:outputText value="#{data.name}"/>

      Thanks in advance for your answers.