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
Bangla
Bosnian
Czech
Greek
Estonian
Persian
Finnish
Danish
Hindi
Indonesian
Icelandic
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
Uzbek
Vietnamese
Chinese
Chinese

Input Style

Themes

PrimeUIX
Aura Light Emerald Aura Light Emerald
Aura Dark Emerald Aura Dark Emerald
PrimeOne
Saga Blue Saga Blue
Vela Blue Vela Blue
Arya Blue Arya Blue
Bootstrap
Bootstrap Blue Light Bootstrap Blue Light
Bootstrap Purple Light Bootstrap Purple Light
Bootstrap Blue Dark Bootstrap Blue Dark
Bootstrap Purple Dark Bootstrap Purple Dark
Material Design
Material Indigo Light Material Indigo Light
Material Deep Purple Light Material Deep Purple Light
Material Indigo Dark Material Indigo Dark
Material Deep Purple Dark Material Deep Purple Dark
Material Design Compact
Material Compact Indigo Light Material Compact Indigo Light
Material Compact Deep Purple Light Material Compact Deep Purple Light
Material Compact Indigo Dark Material Compact Indigo Dark
Material Compact Deep Purple Dark Material Compact Deep Purple Dark
Legacy
Nova Light Nova Light
Nova Dark Nova Dark
Nova Colored Nova Colored
Luna Amber Luna Amber
Luna Blue Luna Blue
Luna Green Luna Green
Luna Pink Luna Pink

OrderList

OrderList is used to sort a collection via Drag and Drop based reordering, transition effects, pojo support, country support and more.

OrderList Tag Documentation

OrderList is used to reorder a list via drag and drop.

NameTypeRequiredDefaultDescription
id String false generated Unique identifier of the component in a namingContainer.
rendered boolean false true Boolean value to specify the rendering of the component, when set to false component will not be rendered.
binding UIComponent false generated An EL expression referring to a server side UIComponent instance in a backing bean.
widgetVar String false generated ('widget_' + componentClientId) Name of the client side widget.
controlsLocation String false left Location of the controls, valid values are "left" and "right".
converter Converter false EL expression resolves to a converter instance or literal converter ID defining a component converter.
converterMessage String false
disabled boolean false false Disables the component.
effect String false Effect to use when moving items.
flex Boolean false Use modern FlexGrid CSS for this component.
immediate boolean false false When set true, process validations logic is executed at apply request values phase for this component.
itemLabel String false Label of the item.
itemValue Object false Value of the item.
moveBottomLabel String false Move Bottom Label for move bottom button.
moveDownLabel String false Move Down Label for move down button.
moveTopLabel String false Move Top Label for move top button.
moveUpLabel String false Move Up Label for move up button.
required boolean false false Marks component as required.
requiredMessage String false
responsive boolean false false In responsive mode, the layout of OrderList is optimized for smaller screens.
style String false Inline style of the component.
styleClass String false Style class of the component.
submittedValue Object false
validator Validator false A method expression referring to a method validating the input.
validatorMessage String false
value Object false Value of the component.
valueChangeListener ValueChangeListener false A method binding expression referring to a method for handling a valuchangeevent.
var String false Name of the iterator variable used to reference each data in the list.
Loading...
Tag DocumentationNew DocumentationNew Documentation JSDoc
Basic
  • San Francisco
  • London
  • Paris
  • Istanbul
  • Berlin
  • Barcelona
  • Rome
Advanced
Available
  • Afghanistan
  • Albania
  • Algeria
  • American Samoa
  • Andorra
  • Angola
  • Anguilla
  • Antarctica
  • Antigua & Barbuda
  • Argentina

Usage


<h:form>
    <p:growl id="msgs" showDetail="true" skipDetailIfEqualsSummary="true"/>

    <div class="card">
        <h5>Basic</h5>
        <p:orderList value="#{orderListView.cities}" var="city" controlsLocation="none" itemLabel="#{city}" itemValue="#{city}" />
    </div>

    <div class="card">
        <h5>Advanced</h5>
        <p:orderList value="#{orderListView.countries}" var="country" itemValue="#{country}"
                     converter="#{countryConverter}" controlsLocation="left" responsive="true">
            <p:ajax event="select" listener="#{orderListView.onSelect}" update="msgs"/>
            <p:ajax event="unselect" listener="#{orderListView.onUnselect}" update="msgs"/>
            <p:ajax event="reorder" listener="#{orderListView.onReorder}" update="msgs"/>

            <f:facet name="caption">Available</f:facet>

            <p:column style="width:40px">
                <span class="flag flag-#{country.code}" style="width: 30px; height: 20px"/>
            </p:column>

            <p:column>
                <h:outputText value="#{country.name}"/>
            </p:column>
        </p:orderList>
    </div>

</h:form>