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.

DataTable Group

DataTable column headers and footers can be combined for grouped display.

Product Sales
ProductSale Rate
SalesProfit
Last YearThis YearLast YearThis Year
Bamboo Watch16%27%$82,949.00$63,746.00
Black Watch15%13%$8,187.00$85,305.00
Blue Band43%36%$64,237.00$26,150.00
Blue T-Shirt27%92%$18,299.00$22,006.00
Brown Purse12%60%$32,495.00$50,138.00
Chakra Bracelet72%30%$87,578.00$77,606.00
Galaxy Earrings77%23%$99,096.00$13,290.00
Game Controller8%47%$75,316.00$34,979.00
Gaming Set3%29%$49,098.00$18,391.00
Gold Phone Case58%27%$26,983.00$3,654.00
Totals:$544,238.00$395,265.00
Dynamic Columns
PlayerGoals
20102011201220132014
Lionel Messi1848434715
Cristiano Ronaldo814333438
Arjen Robben444739395
Franck Ribery31018427
Ronaldinho4941272940
Luis Suarez4347482136
Sergio Aguero491935267
Zlatan Ibrahimovic1231104321
Neymar Jr2120343145
Andres Iniesta91222814

<div class="card">
    <h:form>
        <div class="flex justify-content-between">
           <div>
           </div>
           <div>
              <p:commandButton value="XLSX" styleClass="mr-2 mb-2" >
                  <p:dataExporter type="xlsxstream" target="tblSales tblPlayers" fileName="grouped"/>
              </p:commandButton>

              <p:commandButton value="PDF" styleClass="mr-2 mb-2" >
                  <p:dataExporter type="pdf" target="tblSales tblPlayers" fileName="grouped"/>
              </p:commandButton>
           </div>
        </div>
        <p:dataTable id="tblSales" var="sale" value="#{dtGroupView.sales}">
            <f:facet name="header">
                <h:outputText value="Product Sales"/>
            </f:facet>

            <p:columnGroup type="header">
                <p:row>
                    <p:column rowspan="3" headerText="Product"/>
                    <p:column colspan="4" headerText="Sale Rate"/>
                </p:row>
                <p:row>
                    <p:column colspan="2" headerText="Sales"/>
                    <p:column colspan="2" headerText="Profit"/>
                </p:row>
                <p:row>
                    <p:column headerText="Last Year"/>
                    <p:column headerText="This Year"/>
                    <p:column headerText="Last Year"/>
                    <p:column headerText="This Year"/>
                </p:row>
            </p:columnGroup>

            <p:column>
                <h:outputText value="#{sale.manufacturer}"/>
            </p:column>
            <p:column>
                <h:outputText value="#{sale.lastYearProfit}%"/>
            </p:column>
            <p:column>
                <h:outputText value="#{sale.thisYearProfit}%"/>
            </p:column>
            <p:column>
                <h:outputText value="#{sale.lastYearSale}">
                    <f:convertNumber type="currency" />
                </h:outputText>
            </p:column>
            <p:column>
                <h:outputText value="#{sale.thisYearSale}">
                    <f:convertNumber type="currency" />
                </h:outputText>
            </p:column>

            <p:columnGroup type="footer">
                <p:row>
                    <p:column colspan="3" style="text-align:right" footerText="Totals:"/>
                    <p:column>
                        <f:facet name="footer">
                            <h:outputText value="#{dtGroupView.lastYearTotal}">
                                <f:convertNumber type="currency" currencySymbol="$"/>
                            </h:outputText>
                        </f:facet>
                    </p:column>
                    <p:column>
                        <f:facet name="footer">
                            <h:outputText value="#{dtGroupView.thisYearTotal}">
                                <f:convertNumber type="currency" currencySymbol="$"/>
                            </h:outputText>
                        </f:facet>
                    </p:column>
                </p:row>
            </p:columnGroup>

            <f:facet name="footer">
                <h:outputText value="Data between 2013-2014"/>
            </f:facet>
        </p:dataTable>

        <p:dataTable id="tblPlayers" var="player" value="#{dtGroupView.players}" style="margin-top:40px">
            <f:facet name="header">
                <h:outputText value="Dynamic Columns"/>
            </f:facet>

            <p:columnGroup type="header">
                <p:row>
                    <p:column rowspan="2" headerText="Player"/>
                    <p:column colspan="#{dtGroupView.yearCount}" headerText="Goals"/>
                </p:row>
                <p:row>
                    <ui:repeat value="#{dtGroupView.years}" var="year">
                        <p:column headerText="#{year}"/>
                    </ui:repeat>
                </p:row>
            </p:columnGroup>

            <p:column>
                <h:outputText value="#{player.name}"/>
            </p:column>

            <p:columns value="#{dtGroupView.years}" var="year">
                <h:outputText value="#{player.getGoals(year)}"/>
            </p:columns>

            <f:facet name="footer">
                <h:outputText value="Data between 2010-2014" styleClass="font-bold" />
            </f:facet>
        </p:dataTable>
    </h:form>
</div>