Repeat is an extension to standard repeat component to provide interoperability between JSF implementations and PrimeFaces components.

Id: 0531b686
Year: 1995
Color: Silver

Id: c75fd66f
Year: 1981
Color: Maroon

Id: 5739c75b
Year: 1982
Color: Blue

Id: 454898fe
Year: 2000
Color: Red

Id: 7f77fdcd
Year: 1978
Color: Brown

Id: 603137f0
Year: 1982
Color: Yellow

Id: 81544d60
Year: 1985
Color: Yellow

Id: 21d470b1
Year: 1961
Color: Maroon

Id: 3c0b4782
Year: 2001
Color: Yellow

Id: 58483623
Year: 1975
Color: Green

Car Info
<style type="text/css">
    .logo {
        width: 5%

    .detail {
        width: 95%;
        padding-left: 25px;

    .detail td {
        font-size: 24px;

<h:form id="form">
    <p:repeat value="#{dataListView.cars1}" var="car">
        <h:panelGrid columns="2" style="width:100%" columnClasses="logo,detail">
            <p:commandLink update=":form:carDetail" oncomplete="PF('carDialog').show()">
                <f:setPropertyActionListener value="#{car}" target="#{dataListView.selectedCar}" />
                <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"/>
        <hr />

    <p:dialog header="Car Info" widgetVar="carDialog" modal="true" showEffect="blind" hideEffect="explode" resizable="false">
        <p:outputPanel id="carDetail" style="text-align:center;">
            <p:panelGrid  columns="2" rendered="#{not empty dataListView.selectedCar}" columnClasses="label,value">
                <f:facet name="header">
                    <p:graphicImage name="demo/images/car/#{dataListView.selectedCar.brand}-big.gif"/> 

                <h:outputText value="Id:" />
                <h:outputText value="#{}" />

                <h:outputText value="Year" />
                <h:outputText value="#{dataListView.selectedCar.year}" />

                <h:outputText value="Color:" />
                <h:outputText value="#{dataListView.selectedCar.color}" style="color:#{dataListView.selectedCar.color}"/>

                <h:outputText value="Price" />
                <h:outputText value="\$#{dataListView.selectedCar.price}" />


Built-in component themes created by the PrimeFaces Theme Designer.

nova-light Nova-Light
nova-dark Nova-Dark
nova-colored Nova-Colored
luna-blue Luna-Blue
luna-amber Luna-Amber
luna-green Luna-Green
luna-pink Luna-Pink
omega Omega


Create awesome applications in no time using the premium templates and impress your users.