Can anyone see why this won't work? The poll is just not started. (If I set autoStart="true", I can see that it does what it should do.)
Code: Select all
<h:form>
<p:commandButton value="Search" action="#{someBean.search}" ajax="false" onclick="poll.start()" />
// ...
<p:poll interval="3" update=":someForm:someComponent" widgetVar="poll" autoStart="false" />
</h:form>