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.

Ajax Framework Partial Process

Partial processing enables executing certain components while ignoring others during a request.


<div class="card">
    <h:form>
        <h:panelGrid id="grid" cellpadding="7" columns="2" styleClass="p-mb-3">
            <p:outputLabel for="firstname" value="Firstname:"/>
            <p:inputText id="firstname" value="#{processView.firstname}"/>

            <p:outputLabel for="middle" value="Middle:"/>
            <p:inputText id="middle" value="#{processView.middlename}"/>

            <p:outputLabel for="surname" value="Surname:"/>
            <p:inputText id="surname" value="#{processView.lastname}" required="true"
                         requiredMessage="Surname is required"/>
        </h:panelGrid>

        <p:commandButton value="All" id="btnAll" process="@all" update="grid msgs" action="#{processView.save}" styleClass="p-mr-2"/>
        <p:commandButton value="Form" id="btnForm" process="@form" update="grid msgs" action="#{processView.save}" styleClass="p-mr-2"/>
        <p:commandButton value="This" id="btnThis" process="@this" update="grid msgs" action="#{processView.save}" styleClass="p-mr-2" resetValues="true" />
        <p:commandButton value="None" id="btnNone" process="@none" update="grid msgs" action="#{processView.save}" styleClass="p-mr-2" resetValues="true" />
        <p:commandButton value="Parent" id="btnParent" process="@parent" update="grid msgs" action="#{processView.save}" styleClass="p-mr-2"/>
        <p:commandButton value="This Surname" id="btnSurname" process="@this,surname" update="grid msgs" action="#{processView.save}"/>

        <p:messages id="msgs"/>
    </h:form>
</div>