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.

Tree Basic

Tree has two modes, in client mode all nodes are available at client side whereas in ajax mode only expanded nodes are available.

Client
Ajax

<h:form>
    <div class="card">
        <h5 style="margin-top:0">Client</h5>
        <p:tree value="#{treeBasicView.root}" var="node">
            <p:treeNode>
                <h:outputText value="#{node}"/>
            </p:treeNode>
        </p:tree>
    </div>

    <div class="card">
        <h5>Ajax</h5>
        <p:tree value="#{treeBasicView.root}" var="node" dynamic="true">
            <p:treeNode>
                <h:outputText value="#{node}"/>
            </p:treeNode>
        </p:tree>
    </div>
</h:form>