Locale

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

Language
English
English
English
French
German
German
German
Italian
Korean
Spanish
Catalan
Dutch
Portuguese
Portuguese
Arabic
Arabic
Bulgarian
Czech
Greek
Persian
Finnish
Danish
Hindi
Indonesian
Croatian
Japanese
Hungarian
Hebrew
Georgian
Central Kurdish
Khmer
Kyrgyz
Kazakh
Lithuanian
Latvian
Malay
Norwegian
Polish
Romanian
Russian
Slovak
Slovenian
Serbian
Serbian
Swedish
Thai
Turkish
Ukrainian
Vietnamese
Chinese
Chinese

Input Style

Themes

PrimeOne
Saga Saga
Vela Vela
Arya Arya
Bootstrap
bootstrap4-blue-light Bootstrap Blue
bootstrap4-purple-light Bootstrap Purple
bootstrap4-blue-dark Bootstrap Blue
bootstrap4-purple-dark Bootstrap Purple
Material Design
material-indigo-light Indigo
material-deeppurple-light' Deep Purple
material-indigo-dark Indigo
material-deeppurple-dark' Deep Purple
Material Design Compact
material-indigo-light Indigo
material-deeppurple-light' Deep Purple
material-indigo-dark Indigo
material-deeppurple-dark' Deep Purple

ImportEnum

In older EL versions (< 3.0), it's not possible to use enum constants or any other static fields/methods in an EL expression as it is not really a good practive to create beans with getter/setter for each constants class, we provide an utils tag which allows to import enum values in a page.
The enum values can be accessed via the name of the class (default setting) or via a custom name (var attribute). It also possible to get all enum values of the class with the "ALL_VALUES" suffix or a custom prefix via the "allSuffix" attribute.

Development
Development
ALL
DevelopmentUnitTestSystemTestProduction

<div class="card">
    <p:importEnum type="javax.faces.application.ProjectStage" var="JsfProjectStages"
                  allSuffix="ALL_ENUM_VALUES"/>

    <h5 class="mt-0">Development</h5>
    <h:outputText value="#{JsfProjectStages.Development}" />

    <h5>ALL</h5>
    <ui:repeat var="current" value="#{JsfProjectStages.ALL_ENUM_VALUES}">
        <h:outputText value="#{current}" styleClass="mb-2 block"/>
    </ui:repeat>
</div>