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.

Dialog Framework

Nested dialogs are supported to allow creating a dialog from another dialog. Demo here has 3 level of nested dialogs where last dialog returns data back to the root.

DialogReturn with Button
DialogReturn with Link
View
DialogReturn with a Menu

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

    <div class="card">
        <h5>DialogReturn with Button</h5>
        <p:commandButton id="btn" value="View" icon="pi pi-home" action="#{dfRootView.openLevel1}">
            <p:ajax event="dialogReturn" listener="#{dfRootView.onReturnFromLevel1}" update="growl"/>
        </p:commandButton>
    </div>

    <div class="card">
        <h5>DialogReturn with Link</h5>
        <p:commandLink id="lnk" value="View" action="#{dfRootView.openLevel1}" styleClass="p-text-bold">
            <p:ajax event="dialogReturn" listener="#{dfRootView.onReturnFromLevel1}" update="growl"/>
        </p:commandLink>
    </div>

    <div class="card">
        <h5>DialogReturn with a Menu</h5>
        <p:menu>
            <p:submenu label="Dialog Framework">
                <p:menuitem value="View" action="#{dfRootView.openLevel1}">
                    <p:ajax event="dialogReturn" listener="#{dfRootView.onReturnFromLevel1}" update="growl"/>
                </p:menuitem>
            </p:submenu>
        </p:menu>
    </div>

</h:form>