DataScroller - Basic DataScroller displays data with on demand loading using scroll.
Scroll Down to Load More Cars
  • Id: 5892de25
    Year: 1966
    Color: Yellow
  • Id: 37345a6f
    Year: 1986
    Color: Orange
  • Id: d093d200
    Year: 1976
    Color: Red
  • Id: cf760b96
    Year: 1982
    Color: White
  • Id: 0192a48a
    Year: 1975
    Color: White
  • Id: 7684604e
    Year: 1986
    Color: Maroon
  • Id: 8a32bf46
    Year: 1960
    Color: Maroon
  • Id: db876f60
    Year: 2005
    Color: Silver
  • Id: 9d8719a4
    Year: 2003
    Color: Red
  • Id: 3cf7c203
    Year: 2007
    Color: Silver
    <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 on Mojarra-2.3.2.