Input Style

Free Themes

Built-in component themes created by the PrimeFaces Theme Designer.

Saga Saga
Vela Vela
Arya Arya

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.

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
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>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" 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="p-d-flex p-ai-center">
                    <span class="flag flag-#{country.code} p-mr-2" style="width: 30px; height: 20px" />
                    <h:outputText value="#{country.name}"/>
                </div>
            </p:column>
        </p:pickList>
    </div>

</h:form>