DataScroller - Basic DataScroller displays data with on demand loading using scroll.
Scroll Down to Load More Cars
  • Id: f02b53d2
    Year: 1962
    Color: Brown
  • Id: ec74388b
    Year: 1963
    Color: Orange
  • Id: a2b165b2
    Year: 1980
    Color: Maroon
  • Id: 48a83122
    Year: 1977
    Color: White
  • Id: 69da713d
    Year: 1994
    Color: Black
  • Id: 026678cc
    Year: 2001
    Color: Orange
  • Id: 3d334242
    Year: 1970
    Color: Green
  • Id: ae8dc39f
    Year: 2009
    Color: Yellow
  • Id: 24541bfc
    Year: 1997
    Color: Silver
  • Id: 0f2b3bf6
    Year: 1961
    Color: Brown
    <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.3-SNAPSHOT on Mojarra-2.3.2.