4 Replies Latest reply on Nov 28, 2014 8:02 AM by Martin Höller

    a4j:status does not stop on simple ajax-request

    Daniel Lechner Novice

      I have the following rather simple example page to reproduce the problem:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      <html xmlns="http://www.w3.org/1999/xhtml"
                <a4j:status  name="nameStatus">
                    <f:facet name="start">Working...</f:facet>
                <h:commandLink id="lnk">
                    <a4j:ajax listener="#{dummyBean.someAction}"
                              render="lnk" />


      The listener action at the a4j:ajax component is an empty method on a @Named @SessionScoped CDI-Bean. When clicking the link, the start-facet of the status-indicator is rendered, but is does not disappear any more. The same happens when replacing the a4j:ajax component by f:ajax.


      There are several issues reported in this forum and the bugtracker with similar content (like [RF-12092] a4j:poll : a4j:status never clears - JBoss Issue Tracker or [RF-10853] dataScroller: do not works with a4j:status properly - JBoss Issue Tracker from the tracker and Re: RichFaces4 dataScroller+a4j:status doesn't work, a4j:status does not return or a4j:status does not return).


      Maybe this brings some new insights with an easy-to-reproduce example running on version 4.3.5.Final or any advice on how to deal with this problem.