DataScroller - Basic DataScroller displays data with on demand loading using scroll.
Scroll Down to Load More Cars
  • Id: 03b1ec15
    Year: 1981
    Color: Maroon
  • Id: 2f06e001
    Year: 1985
    Color: Maroon
  • Id: a5babc65
    Year: 1974
    Color: Blue
  • Id: 1712ecce
    Year: 1961
    Color: Yellow
  • Id: a2909bc6
    Year: 1967
    Color: Brown
  • Id: c39a95c3
    Year: 2009
    Color: Yellow
  • Id: 7a5cc210
    Year: 1988
    Color: Orange
  • Id: 280397c1
    Year: 1977
    Color: Silver
  • Id: 0a2fa048
    Year: 1968
    Color: Silver
  • Id: 84599891
    Year: 2004
    Color: Yellow
    <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-SNAPSHOT on Mojarra-2.3.2.