-<p:poll widgetVar="poller" interval="1" update="contentPanel" autoStart="false"/> -<p:commandButton value="Start" action="start" update="contentPanel" onclick="poller.start()"/> -<p:commandButton value="Stop" action="stop" update="contentPanel" onclick="poller.stop()"/> +<p:poll interval="1" autoStart="false" update="contentPanel" widgetVar="poller" /> +<p:commandButton value="Start" action="start" update="contentPanel" onclick="PF('poller').start()"/> +<p:commandButton value="Stop" action="stop" update="contentPanel" onclick="PF('poller').stop()"/>