DataScroller - Basic DataScroller displays data with on demand loading using scroll.
Scroll Down to Load More Cars
  • Id: 7ea850fe
    Year: 1989
    Color: Blue
  • Id: 405d12f5
    Year: 1966
    Color: Silver
  • Id: 30c8e45c
    Year: 1965
    Color: Green
  • Id: eb04426e
    Year: 1973
    Color: Orange
  • Id: d37df8ba
    Year: 1994
    Color: Green
  • Id: 8a5827cd
    Year: 1992
    Color: White
  • Id: 3df0d719
    Year: 1973
    Color: Silver
  • Id: c2a46423
    Year: 1968
    Color: Maroon
  • Id: 46f4dad8
    Year: 1968
    Color: Black
  • Id: 62a94dbb
    Year: 1969
    Color: Red
    <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.1-SNAPSHOT on Mojarra-2.2.8.