Skip to content

Instantly share code, notes, and snippets.

@ancgate
Last active September 20, 2019 01:26
Show Gist options
  • Save ancgate/494eb59885ba98bd2ef7e332f58d0855 to your computer and use it in GitHub Desktop.
Save ancgate/494eb59885ba98bd2ef7e332f58d0855 to your computer and use it in GitHub Desktop.
How to do conditional polling in primefaces?
<h:panelGrid columns="1" id="ID_polling" rendered="#{BackingBean.status eq 'In-Progress'}">
<p:poll interval="20" update="liveChart,chrtTC_Cnt_Status,chrtStatus" />
</h:panelGrid>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment