4 Replies Latest reply on Dec 21, 2010 6:45 AM by Santosh P

    <a4j:push> works only on reloading the browser

    Santosh P Newbie

      Hello all,

       

                     I am working on JSF components. I have some machanism to update the client by getting notified objects from backing beans as follows:

       

                      code.JPG

       

         I am using Websphere and  Firefox 3.5.7 to launch the application.

       

         The problem I am currently facing is, the <a4j:push> works only once on loading the browser. To get the latest data from "notificationManagedBean.notifications" (as above)  I need to refresh or reload the whole page again and again.

       

      Could somebody please help to resolve the issue?

       

      I have already tried combinations of :

      <a4j:form>

           <a4j:region>

                     <a4j:push/>

           </a4j:region>

      </a4j:form>

       

      Please let me know if I have missed something.

       

      Thank you in advance

      Santosh