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.

Ajax Framework PFS

PFS (PrimeFaces Selectors) enables using jQuery Selector API when referencing components.

Form

<div class="card">
    <h:form>
        <p:panel header="Form">
            <h:panelGrid columns="4" cellpadding="5" styleClass="mb-3">
                <h:outputLabel for="txt1" value="Text 1"/>
                <p:inputText id="txt1" value="#{selectorView.text1}" required="true" label="Text 1">
                    <f:validateLength minimum="2"/>
                </p:inputText>
                <p:message for="txt1"/>
                <h:outputText value="#{selectorView.text1}"/>
    
                <h:outputLabel for="txt2" value="Text 2"/>
                <p:inputText id="txt2" value="#{selectorView.text2}" required="true" label="Text 2"/>
                <p:message for="txt2"/>
                <h:outputText value="#{selectorView.text2}"/>
    
                <h:outputLabel for="txt3" value="Text 3"/>
                <h:selectOneMenu id="txt3" value="#{selectorView.text3}" required="true" label="Text 3">
                    <f:selectItem itemLabel="Select One" itemValue="" noSelectionOption="true"/>
                    <f:selectItem itemLabel="Option 1" itemValue="1"/>
                    <f:selectItem itemLabel="Option 2" itemValue="2"/>
                    <f:selectItem itemLabel="Option 3" itemValue="3"/>
                </h:selectOneMenu>
                <p:message for="txt3"/>
                <h:outputText value="#{selectorView.text3}"/>
            </h:panelGrid>
    
            <p:commandButton update="@(form)" value="All Forms" styleClass="mr-2"/>
            <p:commandButton update="@(form:last)" value="Last Form" styleClass="mr-2"/>
            <p:commandButton update="@(.ui-panel)" value="All Panels" styleClass="mr-2"/>
            <p:commandButton process="@(.ui-panel :input)" update="@(.ui-panel)" value="Inputs of Panel" styleClass="mr-2"/>
            <p:commandButton process="@(.ui-panel :input:not(select))" update="@(.ui-panel)" value="Inputs Except Select"/>
    
            <p:growl id="messages"/>
        </p:panel>
    </h:form>
</div>