Locale

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

Input Style

Free Themes

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

PrimeOne Design

Saga Saga
Vela Vela
Arya Arya

Premium Themes

Premium themes are only available exclusively for PrimeFaces Theme Designer subscribers and therefore not included in PrimeFaces core.

Bootstrap light blue and dark blue themes are also included in PrimeFaces 10.x builds for Elite subscribers.

bootstrap4-blue-light Bootstrap Blue
bootstrap4-purple-light Bootstrap Purple
bootstrap4-blue-dark Bootstrap Blue
bootstrap4-purple-dark Bootstrap Purple

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.

DataScroller Inline

In inline mode, data is loaded on scroll event of the component itself.

Scroll Down to Load More Products
  • Green T-Shirt
    Product Description
    Clothing
    $49.00 In Stock
  • Mini Speakers
    Product Description
    Clothing
    $85.00 In Stock
  • Galaxy Earrings
    Product Description
    Accessories
    $34.00 In Stock
  • Pink Purse
    Product Description
    Accessories
    $110.00 Out of Stock
  • Mini Speakers
    Product Description
    Clothing
    $85.00 In Stock
  • Yellow Earbuds
    Product Description
    Electronics
    $89.00 In Stock
  • Brown Purse
    Product Description
    Accessories
    $120.00 Out of Stock
  • Mini Speakers
    Product Description
    Clothing
    $85.00 In Stock
  • Purple T-Shirt
    Product Description
    Clothing
    $49.00 Low Stock
  • Galaxy Earrings
    Product Description
    Accessories
    $34.00 In Stock

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

            <div class="product">
                <div class="product-list-item p-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>

Session expired

Reloading page

Message:
StackTrace: