2 Replies Latest reply on Jul 13, 2010 2:52 AM by David Salter

    a4j:poll not refreshing

    David Salter Novice



      I'm attempting to get the a4j:poll component working in RichFaces 4.0.0.A2 but not having much success.


      I've got a very basic Facelets page.



        <h:form id="form">

         <a4j:poll id="poll" interval="1000" enabled="true"
          reRender="poll,grid" />




        <h:panelGrid columns="1" id="grid">

         <h:outputText id="serverDate" style="font-size:16px"
          value="Server Date: #{popBean.date}" />




      The server side code is equally trivial:


      public class PopBean
         public PopBean() {}

         public String getDate() {
          return new Date().toString();



      I'm expecting the date on the page to update every second but it just renders once and then never updates.  Any idea what I'm doing wrong?