In order to refresh data, I use a primefaces poll
:
<p:poll id="myPoll" interval="#{controller.interval}"/>
and would like to control the update interval with a spinner.
<p:spinner value="#{controller.interval}">
<p:ajax process="@this" update="myPoll"/>
</p:spinner>
The value of the bean property is updated as expected, but the polling interval isn't. The polling is performed by a generated script, which includes the interval value. How do I force the poll
to regenerate the update script to include the new value without submitting/rerenderng the whole form?