title: Adaptive polling with JSF and PrimeFaces
body: <p>In order to refresh data, I use a primefaces <code>poll</code>:</p>
  
  <p><code>&lt;p:poll id="myPoll" interval="#{controller.interval}"/&gt;</code></p>
  
  <p>and would like to control the update interval with a spinner.</p>
  
  <pre><code>&lt;p:spinner  value="#{controller.interval}"&gt;
    &lt;p:ajax process="@this" update="myPoll"/&gt;
  &lt;/p:spinner&gt;
  </code></pre>
  
  <p>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 <code>poll</code> to regenerate the update script to include the new value without submitting/rerenderng the whole form?</p>