13 Replies Latest reply: Feb 19, 2013 11:08 AM by Juraj Húska RSS

Richfaces 4 rich:dataScroller pages facet not working

Nikhil Patil Newbie

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?