Ajax Poll

Poll component make ajax calls in a specified interval.

0

Source

<h:form id="form">
	<h:outputText id="txt_count" value="#{counterBean.count}" />
	
	<p:poll interval="3" 
			listener="#{counterBean.increment}" update="txt_count" />
</h:form>