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

DataScroller Basic

DataScroller displays data with on demand loading using scroll.

Scroll Down to Load More Products
  • Blue T-Shirt
    Product Description
    Clothing
    $29.00 In Stock
  • Pink Band
    Product Description
    Fitness
    $79.00 In Stock
  • Black Watch
    Product Description
    Accessories
    $72.00 In Stock
  • Bracelet
    Product Description
    Accessories
    $15.00 In Stock
  • Green T-Shirt
    Product Description
    Clothing
    $49.00 In Stock
  • Purple T-Shirt
    Product Description
    Clothing
    $49.00 Low Stock
  • Lime Band
    Product Description
    Fitness
    $79.00 In Stock
  • Game Controller
    Product Description
    Electronics
    $99.00 Low Stock
  • Black Watch
    Product Description
    Accessories
    $72.00 In Stock
  • Lime Band
    Product Description
    Fitness
    $79.00 In Stock

<div class="card">
    <h:form>
        <p:dataScroller value="#{dataScrollerView.products}" var="product" chunkSize="10">
            <f:facet name="header">
                Scroll Down to Load More Products
            </f:facet>

            <div class="product">
                <div class="product-list-item p-5">
                    <p:graphicImage name="demo/images/product/#{product.image}"/>
                    <div class="product-list-detail">
                        <div class="product-name">#{product.name}</div>
                        <div class="product-description">#{product.description}</div>
                        <p:rating readonly="true" value="#{product.rating}"/>
                        <i class="pi pi-tag product-category-icon"/><span
                            class="product-category">#{product.category}</span>
                    </div>
                    <div class="product-list-action">
                        <h:outputText value="#{product.price}" styleClass="product-price">
                            <f:convertNumber currencySymbol="$" type="currency"/>
                        </h:outputText>
                        <p:commandButton value="Add To Cart" icon="pi pi-shopping-cart"
                                         disabled="#{product.inventoryStatus == 'OUTOFSTOCK'}">
                        </p:commandButton>
                        <span class="product-badge status-#{product.inventoryStatus.name().toLowerCase()}">#{product.inventoryStatus.text}</span>
                    </div>
                </div>
            </div>
        </p:dataScroller>
    </h:form>
</div>