6 Replies Latest reply on Feb 17, 2009 8:07 AM by Nick Belaevski

    Richfaces component css

    Firas Abah Newbie

      I am trying to evaluate the Richfaces 3.1.6. I added the following to a JSP:

      <rich:dataTable value="#{pc_Rich1.companies}" var="company" >
       <rich:column>
       <f:facet name="header"><h:outputText value="Name" /></f:facet>
       <h:outputText value="#{company.name}"></h:outputText>
       </rich:column>
       <rich:column>
       <f:facet name="header"><h:outputText value="Address" /></f:facet>
       <h:outputText value="#{company.address}"></h:outputText>
       </rich:column>
       </rich:dataTable>
      

      When i try to access the page using a web browser, It seems that no CSS is applied to that rich:dataTable.

      When i "View Page Source", I see (in the head section of the html page) Something like:

      <link rel='stylesheet' class='component' type='text/css' href='/Presentation/a4j_3_1_6.SR1css/table.xcss/DATB/eAHz5TR5BgACoQFx.faces' />
      

      I tried to access that css resource from a separate window: I get some JSF like output. Here is a sinippet:

      <template xmlns:f="http:/jsf.exadel.com/template" xmlns:u="http:/jsf.exadel.com/template/util" xmlns="http://www.w3.org/1999/xhtml"><selector name=".dr-table"><style name="border-top" value="solid"><verbatim skin="tableBorderWidth"></verbatim>...............................
      


      Any one knows how to fix this?


      Thanks a lot.