Ajax Framework - Basic

This example demonstrates a simple but common usage of posting the form, updating the backend value and displaying the output with ajax.

Documentation
<h:form>
    <h:panelGrid columns="4" cellpadding="5">
        <h:outputLabel for="name" value="Name:" style="font-weight:bold" />
        <p:inputText id="name" value="#{basicView.text}" />
        <p:commandButton value="Submit" update="display" icon="pi pi-check" />
        <h:outputText id="display" value="#{basicView.text}" />
    </h:panelGrid>
</h:form>

FREE THEMES

Built-in component themes created by the PrimeFaces Theme Designer.

nova-light Nova-Light
nova-dark Nova-Dark
nova-colored Nova-Colored
luna-blue Luna-Blue
luna-amber Luna-Amber
luna-green Luna-Green
luna-pink Luna-Pink
omega Omega

PREMIUM TEMPLATES

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