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 Listener

A java method can be invoked in an ajax request using listener option of p:ajax.

Keyup:

<div class="card">
    <h:form>
        <h:panelGrid columns="3">
            <h:outputText value="Keyup: "/>
            <p:inputText id="counter" value="#{listenerView.text}">
                <p:ajax event="keyup" update="out" listener="#{listenerView.handleKeyEvent}"/>
            </p:inputText>
            <h:outputText id="out" value="#{listenerView.text}"/>
        </h:panelGrid>
    </h:form>
</div>