1 Reply Latest reply on Jul 8, 2009 11:11 AM by nbelaevski

    DataTable CSS not loading

    fkj

      I've followed http://livedemo.exadel.com/richfaces-demo/richfaces/repeat.jsf?c=repeat&tab=usage example to create a dataTable with a4j:repeat, where a table tag + RichFaces CSS classes are directly used.

      The problem is that if I don't add a rich:dataTable tag to the page not all CSS classes are loaded.

      I made a diff between the HTML rendered with and without the rich:dataTable tag and it pointed that the following code wasn't rendered:

      .jsf" rel="stylesheet" type="text/css" /><link class="component" href="/AreaTecnico/a4j/s/3_3_1.GAcss/table.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__


      Any ideas?

      Thanks,
      Felipe

        • 1. Re: DataTable CSS not loading
          nbelaevski

          Hi,

          That's the right behavior: you don't load components - its dependencies are not loaded. You can use

          <rich:dataTable rendered="false" />
          or better load XCSS files using a4j:loadStyle.