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


Create awesome applications in no time using the premium templates and impress your users.

TreeTable Filter

Filtering updates the data based on the constraints.


<style type="text/css">
    .ui-treetable {
        margin-top: 40px

    .ui-treetable table {
        table-layout: fixed

<div class="card ui-fluid">
        <p:treeTable widgetVar="treeTable" value="#{ttScrollableView.root1}" var="document"
            <f:facet name="header">
                <div class="p-d-flex p-ai-center p-jc-between">
                    <p:inputText id="globalFilter" onkeyup="PF('treeTable').filter()" style="width:10rem" placeholder="Enter keyword" />
            <p:column headerText="Name" filterBy="#{document.name}" filterMatchMode="contains">
                <h:outputText value="#{document.name}"/>
            <p:column headerText="Size">
                <h:outputText value="#{document.size}"/>
            <p:column headerText="Type" filterBy="#{document.type}" filterMatchMode="exact">
                <f:facet name="filter">
                    <p:selectOneMenu onchange="PF('treeTable').filter()" styleClass="custom-filter">
                        <f:selectItem itemLabel="Select One" itemValue="#{null}" noSelectionOption="true"/>
                        <f:selectItem itemLabel="Folder" itemValue="Folder"/>
                        <f:selectItem itemLabel="Application" itemValue="Application"/>
                        <f:selectItem itemLabel="Zip" itemValue="Zip"/>
                        <f:selectItem itemLabel="Text" itemValue="Text"/>
                        <f:selectItem itemLabel="Document" itemValue="Document"/>
                        <f:selectItem itemLabel="Resume" itemValue="Resume"/>
                        <f:selectItem itemLabel="Excel" itemValue="Excel"/>
                        <f:selectItem itemLabel="PDF" itemValue="PDF"/>
                        <f:selectItem itemLabel="Link" itemValue="Link"/>
                        <f:selectItem itemLabel="Picture" itemValue="Picture"/>
                        <f:selectItem itemLabel="Video" itemValue="Video"/>

                <h:outputText value="#{document.type}"/>

Session expired

Reloading page