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.

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

Columns can be given a default display priority for ordering of the columns.

Name (dp0)Code (dp1)Quantity (dp5)Category (dp8)
Bamboo Watch f230fh0g3 24 Accessories
Black Watch nvklal433 61 Accessories
Blue Band zz21cz3c1 2 Fitness
Blue T-Shirt 244wgerg2 25 Clothing
Bracelet h456wer53 73 Accessories
Brown Purse av2231fwg 0 Accessories
Chakra Bracelet bib36pfvm 5 Accessories
Galaxy Earrings mbvjkgip5 23 Accessories
Game Controller vbb124btr 2 Electronics
Gaming Set cm230f032 63 Electronics

<div class="card">
    <h:form id="form">

        <p:dataTable var="product" value="#{dtReorderView.products1}">
            <p:column headerText="Code (dp1)" displayPriority="1">
                #{product.code}
            </p:column>

            <p:column headerText="Name (dp0)" draggable="false" displayPriority="0">
                #{product.name}
            </p:column>

            <p:column headerText="Category (dp8)" displayPriority="8">
                #{product.category}
            </p:column>

            <p:column headerText="Quantity (dp5)" displayPriority="5">
                #{product.quantity}
            </p:column>
        </p:dataTable>
    </h:form>
</div>

Session expired

Reloading page

Message:
StackTrace: