JARCH SHOWCASE
JARCH SHOWCASE
DataScroller - Inline In inline mode, data is loaded on scroll event of the component itself.
Scroll Down to Load More Cars
  • Id: 0627d9fb
    Year: 1969
    Color: White
  • Id: a03f367f
    Year: 1984
    Color: Yellow
  • Id: 8418b988
    Year: 1995
    Color: Green
  • Id: db037e7e
    Year: 1972
    Color: Maroon
  • Id: cf5171e9
    Year: 1975
    Color: Brown
  • Id: 002e95cc
    Year: 1963
    Color: Silver
  • Id: 47b74a45
    Year: 2006
    Color: Maroon
  • Id: 4affb9ad
    Year: 1994
    Color: White
  • Id: e99f4db2
    Year: 1988
    Color: White
  • Id: ecfb9ec4
    Year: 1980
    Color: Blue
<a:form>
    <a:dataScroller value="#{dataScrollerView.cars}" var="car" chunkSize="10" mode="inline" scrollHeight="500">
        <f:facet name="header">
            Scroll Down to Load More Cars
        </f:facet>

        <h:panelGrid columns="2" style="width:100%" columnClasses="logo,detail">
            <a:graphicImage name="demo/images/car/#{car.brand}-big.gif" />

            <a:outputPanel>
                <h:panelGrid columns="2" cellpadding="5">
                    <h:outputText value="Id:" />
                    <h:outputText value="#{car.id}" 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"/>
                </h:panelGrid>
            </a:outputPanel>
        </h:panelGrid>
    </a:dataScroller>
</a:form>
                
JARCH, Copyright © 2022 All rights reserved. Running JARCH 24.3.0-SNAPSHOT on PrimeFaces-12.0.0 on Mojarra-2.3.13.