PPR - Simple

This examples demonstrates the basic ajax update feature.

Source

<h:form>
							
	<h:panelGrid columns="4" cellpadding="5">
		<h:outputLabel for="name" value="Name:" style="font-weight:bold"/>
		
		<p:inputText id="name" value="#{pprBean.firstname}" />
		
		<p:commandButton value="Submit" update="display"/>

        <h:outputText value="#{pprBean.firstname}" id="display" />
	</h:panelGrid>
	
</h:form>