DataScroller - Basic DataScroller displays data with on demand loading using scroll.
Scroll Down to Load More Cars
  • Id: e4fbdf6b
    Year: 1991
    Color: Green
  • Id: 8a58dffe
    Year: 1988
    Color: Green
  • Id: bc8bdd7d
    Year: 1995
    Color: Orange
  • Id: b022eb6f
    Year: 2005
    Color: Yellow
  • Id: 0bc88c0c
    Year: 2005
    Color: Blue
  • Id: 44a86faa
    Year: 1976
    Color: Blue
  • Id: fc7279b7
    Year: 1962
    Color: Silver
  • Id: c74dda8b
    Year: 1982
    Color: Maroon
  • Id: e4fcb003
    Year: 1996
    Color: White
  • Id: 9f23d817
    Year: 1961
    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 © 2015
All rights reserved.
Running PrimeFaces-6.0.16 on Mojarra-2.2.8.