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


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


Input components keep their local values at state when validation fails. ResetInput is used to clear the cached values from state so that components retrieve their values from the backing bean model instead.

<div class="card">
    <h:form id="form">
        <p:outputPanel id="panel" styleClass="p-mb-2">
            <h:panelGrid columns="3" cellpadding="7">
                <p:outputLabel for="text1" value="Text 1:"/>
                <p:inputText id="text1" value="#{resetInputView.text1}" required="true" label="Firstname">
                    <f:validateLength minimum="2"/>
                <p:message for="text1"/>

                <p:outputLabel for="text2" value="Text 2:"/>
                <p:inputText id="text2" value="#{resetInputView.text2}" required="true" label="Surname"/>
                <p:message for="text2"/>

        <div class="p-d-flex p-jc-between">
            <p:commandButton value="Submit" update="panel" action="#{resetInputView.save}" styleClass="p-mr-2" />

                <p:commandButton value="Reset Fail" update="panel" process="@this"
                                 action="#{resetInputView.resetFail}" styleClass="p-mr-2 ui-button-outlined"/>

                <p:commandButton value="Reset Tag" update="panel" process="@this" styleClass="p-mr-2 ui-button-outlined">
                    <p:resetInput target="panel"/>

                <p:commandButton value="Reset Code" update="panel" process="@this"
                                 styleClass="p-mr-2 ui-button-outlined"/>

                <p:commandButton value="Reset Non-Ajax" action="#{resetInputView.reset}" immediate="true"
                                 ajax="false" styleClass="p-mr-2 ui-button-outlined">
                    <p:resetInput target="panel"/>

                <p:commandButton value="Reset p:ajax">
                    <p:ajax update="panel" resetValues="true"/>

Session expired

Reloading page