DataScroller - Basic DataScroller displays data with on demand loading using scroll.
Scroll Down to Load More Cars
  • Id: 58baf0e3
    Year: 1963
    Color: Blue
  • Id: 1817a610
    Year: 2006
    Color: Yellow
  • Id: 3e50fb22
    Year: 1982
    Color: Green
  • Id: 0092fd32
    Year: 2000
    Color: Green
  • Id: 2934e683
    Year: 1960
    Color: Silver
  • Id: 3bfb6fea
    Year: 2000
    Color: Orange
  • Id: 1bf610b3
    Year: 1995
    Color: Blue
  • Id: fc255c1f
    Year: 1984
    Color: Orange
  • Id: 823195ce
    Year: 1972
    Color: Blue
  • Id: 3fe3c6a6
    Year: 1994
    Color: Maroon
    <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.12 on Mojarra-2.2.8.