- 
        1. Re: issues with a4j:polljthielscher Mar 16, 2008 6:30 AM (in response to jthielscher)Meanwhile I found a work around... 
 Implementing the Bean method as listener instead action and calling the same code using the actionListener attribute results in expected behaviour:
 old action method:public String refresh() { // do something return resultValue }
 new listener method:public void refresh2(ActionEvent ae) { //do the same }
 and use the a4j:poll with actionListener:<a4j:region> <h:form> <a4j:poll id="poll" reRender="poll, grid" actionListener="#{psb.refresh2}"/> </h:form> </a4j:region>
 
 Well, it works now, but I am still a bit confused why it did stop the intervall after 1st iteration using the action attribute. Is this regular behaviour? I would have thought differently... Probably someone who knows better might clarify...
 br
- 
        2. Re: issues with a4j:pollmail.micke Mar 16, 2008 12:16 PM (in response to jthielscher)Hi, 
 Try and returning null from the action method.
- 
        3. Re: issues with a4j:polljannie Mar 16, 2008 1:57 PM (in response to jthielscher)Thanks for the suggestion. Did you successfully try it? 
 I would expect it to end in a NPE. handleNavigation() should reply with NPE, if outcome is null...
 cheers
- 
        4. Re: issues with a4j:pollmail.micke Mar 17, 2008 4:18 AM (in response to jthielscher)Hi, 
 there is no problem with returning null, it just means redisplay the same page.
 The reason I suggested you try returning null, is because the docs says that that is what should return for an ajax response to take place.
 Have a look at chapter 5.4.4 here:
 http://labs.jboss.org/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/html_single/index.html
 Cheers,
 Micke
 
     
    