2 Replies Latest reply on Aug 27, 2009 9:25 AM by Leonid Sokolin

    Borders in rich:table dissapear

    Leonid Sokolin Newbie

      I experienced strange problem recently. When my rich:table first appears on the screen, it has all borders shown correctly.

      If I jump to another screen and return, it still has all the data in the table (I have bean-scope defined as session), but no longer has borders shown.

      If I re-populate the table with data, borders show fine again.

      Anybody has any ideas?

        • 1. Re: Borders in rich:table dissapear
          Ilya Shaikovsky Master

          show the code please.

          • 2. Re: Borders in rich:table dissapear
            Leonid Sokolin Newbie

             

            <style>
            .rich-list-shuttle-button-content {
             background-color: #84BBFF;
            }
            .rich-table-header {
             background-color: #FFFFFF;
             color: #000000;
            }
            </style>
            ...
            <rich:dataTable value="#{piPerformanceReturnsBean.retData}" rowKeyVar="rKV"
             var="curPortBench" rendered="#{not empty piPerformanceReturnsBean.statistics}" >
             <!--
             -->
             <f:facet name="header">
             <rich:columnGroup>
             <rich:columnGroup>
             <rich:column>
             <h:outputText value="Product / Benchmark"></h:outputText>
             </rich:column>
             <rich:columns value="#{piPerformanceReturnsBean.statistics}" var="column"
             index="index" colspan="#{piPerformanceReturnsBean.trailingPeriodsLength}">
             <h:outputText value="#{column.displayName}"></h:outputText>
             </rich:columns>
             </rich:columnGroup>
             <rich:columnGroup>
             <rich:column>
             <rich:spacer/>
             </rich:column>
             <rich:columns value="#{piPerformanceReturnsBean.headerTimePeriods}" var="column"
             index="index" >
             <h:outputText value="#{column}"></h:outputText>
             </rich:columns>
             </rich:columnGroup>
             </rich:columnGroup>
             </f:facet>
             <rich:column id="portBenchName">
             <h:outputText value="#{piPerformanceReturnsBean.prodBenchNames[rKV]}"/>
             </rich:column>
             <rich:columns value="#{piPerformanceReturnsBean.headerTimePeriods}" var="column"
             index="index" style="text-align:center" >
             <h:outputText value="#{piPerformanceReturnsBean.retData[rKV][index]}">
             <f:converter converterId="DoubleConverter"/>
             </h:outputText>
             </rich:columns>
             </rich:dataTable>