2 Replies Latest reply on Nov 10, 2010 3:53 PM by Robert Gary

    Short circuit a4j:poll

    Robert Gary Newbie

      I have a poll every 5 seconds to update regions of my page. However, often times the back end knows that the data hasn't changed. How can I use a4j:poll so that I can abort an update if the backend found no changes? This helps prevent flashing or scoll bar movement when nothing changed.

      Could I have a backing bean attribute #pollBean.noChanges that I could refernece in onbeforedomupdate() and return something to tell the poll to not update the DOM?

       

      -Robert