Locale

Change the locale of the datepicker, schedule and client side validation messages.

Language
English
French
German
Italian
Korean
Spanish
Catalan
Dutch
Portuguese
Portuguese
Arabic
Czech
Greek
Persian
Hindi
Indonesian
Croatian
Japanese
Hungarian
Hebrew
Georgian
Lithuanian
Latvian
Norwegian
Polish
Romanian
Russian
Slovak
Slovenian
Serbian
Swedish
Turkish
Ukrainian
Vietnamese
Chinese
Chinese

Input Style

Free Themes

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

PrimeOne Design

Saga Saga
Vela Vela
Arya Arya

Premium Themes

Premium themes are only available exclusively for PrimeFaces Theme Designer subscribers and therefore not included in PrimeFaces core.

Bootstrap light blue and dark blue themes are also included in PrimeFaces 10.x builds for Elite subscribers.

bootstrap4-blue-light Bootstrap Blue
bootstrap4-purple-light Bootstrap Purple
bootstrap4-blue-dark Bootstrap Blue
bootstrap4-purple-dark Bootstrap Purple

Legacy Free Themes

Luna Amber Luna Amber
Luna Blue Luna Blue
Luna Green Luna Green
Luna Pink Luna Pink
Nova Nova
Nova Nova Alt
Nova Nova Accent

PREMIUM TEMPLATES

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

DataExporter Lazy

Lazy loading is fully supported when data is being exported.

Standard
Page Only
NameCountryCompanyRepresentative
Darci D MaletIndiaRousseaux, Michael EsqAmy Elsner
Nicolas T SlusarskiJapanTruhlar And Truhlar AttysStephen Shaw
Darci D RimCanadaRangoni Of FlorenceIoni Bowcher
Silvio Q CaldareraGermanyChanay, Jeffrey A EsqBernardo Dominic
Aruna R ChuiIndiaRangoni Of FlorenceXuxue Feng
Aruna Y CaldareraFranceMorlong AssociatesOnyama Limba
Alejandro S GillianIndiaBuckley Miller WrightIoni Bowcher
Cody U FlosiUnited KingdomBuckley Miller WrightIvan Magalhaes
David C PoquetteCanadaBuckley Miller WrightAmy Elsner
Ricardo A DarakjyIndiaChanay, Jeffrey A EsqIoni Bowcher

<div class="card">
    <h:form>
       
        <div class="flex justify-content-between">
            <div>
                <h5>Standard</h5>
                <p:commandButton value="XLS" styleClass="mr-2 mb-2">
                    <p:dataExporter type="xls" target="tbl" fileName="customers"/>
                </p:commandButton>
    
                <p:commandButton value="XLSX" styleClass="mr-2 mb-2">
                    <p:dataExporter type="xlsxstream" target="tbl" fileName="customers"/>
                </p:commandButton>
    
                <p:commandButton value="PDF" styleClass="mr-2 mb-2">
                    <p:dataExporter type="pdf" target="tbl" fileName="customers"/>
                </p:commandButton>
    
                <p:commandButton value="CSV" styleClass="mr-2 mb-2">
                    <p:dataExporter type="csv" target="tbl" fileName="customers" />
                </p:commandButton>
    
                <p:commandButton value="XML" styleClass="mr-2 mb-2">
                    <p:dataExporter type="xml" target="tbl" fileName="customers"/>
                </p:commandButton>
    
                <p:commandButton value="TXT" styleClass="mr-2 mb-2">
                    <p:dataExporter type="txt" target="tbl" fileName="customers" exporter="#{dataExporterView.textExporter}"/>
                </p:commandButton>
            </div>

            <div>
                <h5>Page Only</h5>
                <p:commandButton value="XLS" styleClass="mr-2 mb-2 ui-button-outlined">
                    <p:dataExporter type="xls" target="tbl" fileName="customers" pageOnly="true"/>
                </p:commandButton>

                <p:commandButton value="XLSX" styleClass="mr-2 mb-2 ui-button-outlined">
                    <p:dataExporter type="xlsxstream" target="tbl" fileName="customers" pageOnly="true"/>
                </p:commandButton>

                <p:commandButton value="PDF" styleClass="mr-2 mb-2 ui-button-outlined">
                    <p:dataExporter type="pdf" target="tbl" fileName="customers" pageOnly="true"/>
                </p:commandButton>

                <p:commandButton value="CSV" styleClass="mr-2 mb-2 ui-button-outlined">
                    <p:dataExporter type="csv" target="tbl" fileName="customers" pageOnly="true"/>
                </p:commandButton>

                <p:commandButton value="XML" styleClass="mr-2 mb-2 ui-button-outlined">
                    <p:dataExporter type="xml" target="tbl" fileName="customers" pageOnly="true"/>
                </p:commandButton>

                <p:commandButton value="TXT" styleClass="mr-2 mb-2 ui-button-outlined">
                    <p:dataExporter type="txt" target="tbl" fileName="customers" pageOnly="true"
                                    exporter="#{dataExporterView.textExporter}"/>
                </p:commandButton>
            </div>
        </div>

        <p:dataTable id="tbl" var="customer" value="#{deLazyView.lazyModel}"
                     sortMode="single" filteredValue="#{deLazyView.filteredCustomers}"
                     paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {Exporters}"
                     paginator="true" rows="10" styleClass="mt-2">

            <p:column headerText="Name" sortBy="#{customer.name}" filterBy="#{customer.name}">
                <h:outputText value="#{customer.name}"/>
            </p:column>
            <p:column headerText="Country" sortBy="#{customer.country}" filterBy="#{customer.country}">
                <h:outputText style="vertical-align: middle; margin-left: .5rem"
                              value="#{customer.country.name}"/>
            </p:column>
            <p:column headerText="Company" sortBy="#{customer.company}" filterBy="#{customer.company}">
                <h:outputText value="#{customer.company}"/>
            </p:column>
            <p:column headerText="Representative" sortBy="#{customer.representative}"
                      filterBy="#{customer.representative}">
                <p:graphicImage name="images/avatar/#{customer.representative.image}" library="demo"
                                width="32" style="vertical-align: middle"/>
                <h:outputText style="vertical-align: middle; margin-left: .5rem"
                              value="#{customer.representative.name}"/>
            </p:column>
        </p:dataTable>
    </h:form>
</div>