DataScroller - Basic DataScroller displays data with on demand loading using scroll.
Scroll Down to Load More Cars
  • Id: 1a608774
    Year: 1998
    Color: Red
  • Id: d3eb058a
    Year: 1991
    Color: Maroon
  • Id: d18489d9
    Year: 2009
    Color: Brown
  • Id: e6e84040
    Year: 1997
    Color: Green
  • Id: b3d52cb1
    Year: 1986
    Color: Maroon
  • Id: 56a35783
    Year: 1966
    Color: Red
  • Id: a770544e
    Year: 1993
    Color: Maroon
  • Id: 3a0a07de
    Year: 1992
    Color: Yellow
  • Id: 08481d41
    Year: 1974
    Color: Green
  • Id: b70f663f
    Year: 1969
    Color: Orange
    <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.