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 Watch75%84%$13,016.00$5,681.00
Black Watch80%16%$21,576.00$30,457.00
Blue Band44%90%$65,502.00$57,698.00
Blue T-Shirt52%50%$1,322.00$20,782.00
Brown Purse26%23%$95,711.00$6,749.00
Chakra Bracelet11%44%$26,555.00$89,374.00
Galaxy Earrings38%47%$80,159.00$69,250.00
Game Controller85%35%$16,765.00$89,181.00
Gaming Set98%31%$32,542.00$18,673.00
Gold Phone Case49%78%$67,754.00$17,430.00
Totals:$420,902.00$405,275.00
Dynamic Columns
PlayerGoals
20102011201220132014
Lionel Messi494741849
Cristiano Ronaldo3840244445
Arjen Robben2649261630
Franck Ribery3736421343
Ronaldinho1542354917
Luis Suarez491738146
Sergio Aguero283494131
Zlatan Ibrahimovic3122293528
Neymar Jr251374024
Andres Iniesta22515717

<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>