13 Replies Latest reply on Feb 19, 2013 11:08 AM by jhuska

    Richfaces 4 rich:dataScroller pages facet not working

    nikh123123

      Hi guys,

       

      I'm trying to customize the dataScroller. The following code

       

       

      <rich:dataTable
                           rows="2"                   
                           value="#{userBean.itemsModel}" 
                           var="item">
                               <rich:column>
                               #{item.label}
                               </rich:column>
      
                               <rich:column>
                           #{item.value}
                               </rich:column>
      
                          <f:facet name="footer">
                          <rich:dataScroller pageIndexVar="pageIndex" pagesVar="pages">
                              <f:facet name="pages">
                                 <h:outputText value="#{pageIndex} / #{pages}" />
                              </f:facet>
                          </rich:dataScroller>
                     </f:facet>                   
      </rich:dataTable>
      
      

       

      does not override the dafualt rendering of dataScroller.

       

      Please refer to the attached screenShot. Using Richfaces 4.0 final. Is this a bug? Or is something wrong with my markup?