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

PickList

PickList is a dual list input component featuring Drag and Drop based reordering, transition effects, pojo support, theming filtering, captions, checkbox selection, client-server callbacks, responsive layout and more.

Basic PickList
Instant Checkbox PickList
Advanced
Available
Starting

<h:form>
    <p:growl id="msg" showDetail="true" escape="false"/>

    <div class="card">
        <h5 style="margin-top: 0">Basic PickList</h5>
        <p:pickList id="pickList" value="#{pickListView.cities}" var="cities" itemLabel="#{cities}" itemValue="#{cities}"/>
    </div>

    <div class="card">
        <h5 style="margin-top: 0">Instant Checkbox PickList</h5>
        <p:pickList id="instantPickList" value="#{pickListView.cities}" var="cities" itemLabel="#{cities}" itemValue="#{cities}" transferOnCheckboxClick="true"
                    showCheckbox="true" showSourceControls="false" showTargetControls="false" />
    </div>


    <div class="card">
        <h5>Advanced</h5>
        <p:pickList id="pojoPickList" value="#{pickListView.countries}" var="country"
                    itemValue="#{country}" itemLabel="#{country.name}" showSourceControls="true"
                    showTargetControls="true" showCheckbox="true"
                    showSourceFilter="true" showTargetFilter="true" 
                    sourceFilterPlaceholder="Filter available countries"
                    targetFilterPlaceholder="Filter starting countries"
                    filterMatchMode="contains" converter="#{countryConverter}" responsive="true">

            <f:facet name="sourceCaption">Available</f:facet>
            <f:facet name="targetCaption">Starting</f:facet>

            <p:ajax event="transfer" listener="#{pickListView.onTransfer}" update="msg"/>
            <p:ajax event="select" listener="#{pickListView.onSelect}" update="msg"/>
            <p:ajax event="unselect" listener="#{pickListView.onUnselect}" update="msg"/>
            <p:ajax event="reorder" listener="#{pickListView.onReorder}" update="msg"/>

            <p:column style="width:94%">
                <div class="flex align-items-center">
                    <span class="flag flag-#{country.code} mr-2" style="width: 30px; height: 20px" />
                    <h:outputText value="#{country.name}"/>
                </div>
            </p:column>
        </p:pickList>
    </div>

</h:form>