Locale

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

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.

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

Columns of datatable can be created dynamically using the p:columns component.

Available columns are code, name, category and quantity.
CODENAMEQUANTITY
f230fh0g3Bamboo Watch24
nvklal433Black Watch61
zz21cz3c1Blue Band2
244wgerg2Blue T-Shirt25
h456wer53Bracelet73
av2231fwgBrown Purse0
bib36pfvmChakra Bracelet5
mbvjkgip5Galaxy Earrings23
vbb124btrGame Controller2
cm230f032Gaming Set63

<div class="card">
    Available columns are <b>code</b>, <b>name</b>, <b>category</b> and <b>quantity</b>.

    <h:form id="form">
        <div class="p-mt-3 p-mb-5">
            <p:inputText id="template" value="#{dtColumnsView.columnTemplate}" size="50" styleClass="p-mr-2"/>
            <p:commandButton update="products" action="#{dtColumnsView.updateColumns}" value="Update"
                             process="@parent" icon="pi pi-refresh"
                             oncomplete="PF('productsTable').clearFilters()"/>
        </div>

        <p:dataTable id="products" var="product" value="#{dtColumnsView.products}" widgetVar="productsTable"
                     filteredValue="#{dtColumnsView.filteredProducts}">

            <p:columns value="#{dtColumnsView.columns}" var="column" headerText="#{column.header}"
                       field="#{column.property}"/>

        </p:dataTable>
    </h:form>
</div>