DataScroller - Basic DataScroller displays data with on demand loading using scroll.
Scroll Down to Load More Cars
  • Id: 1ea3c2ca
    Year: 2008
    Color: Maroon
  • Id: fc0c932c
    Year: 1966
    Color: Black
  • Id: d74ee29a
    Year: 1995
    Color: Maroon
  • Id: 87348e33
    Year: 1972
    Color: Orange
  • Id: bb2a53cd
    Year: 2001
    Color: Black
  • Id: 4b37cbf0
    Year: 1986
    Color: Green
  • Id: 7869c99d
    Year: 1983
    Color: White
  • Id: d99dd2d0
    Year: 1987
    Color: Brown
  • Id: fc3d4a64
    Year: 1966
    Color: Black
  • Id: 09d82b45
    Year: 1987
    Color: Black
    <p:dataScroller value="#{}" var="car" chunkSize="10">
        <f:facet name="header">
            Scroll Down to Load More Cars

        <h:panelGrid columns="2" style="width:100%" columnClasses="logo,detail">
            <p:graphicImage name="demo/images/car/#{car.brand}-big.gif" /> 

                <h:panelGrid columns="2" cellpadding="5">
                    <h:outputText value="Id:" />
                    <h:outputText value="#{}" style="font-weight: bold"/>

                    <h:outputText value="Year:" />
                    <h:outputText value="#{car.year}" style="font-weight: bold"/>

                    <h:outputText value="Color:" />
                    <h:outputText value="#{car.color}" style="font-weight: bold"/>
PrimeTek, Copyright © 2017
All rights reserved.
Running PrimeFaces-6.2 on Mojarra-2.3.2.