3 Replies Latest reply on Feb 13, 2012 7:43 AM by icedguardian

    Ajax request time out

    ravi.kuchika
      Hi,

       

       

         Am using a commandlink and onclick of that am doing some processing which is taking some time(appro.4mins). Onclick of the link am opening a modal panel to show the user a processing image.  oncomplete am closing that modalpanel.

       

      The problem is after completing the action the components are rerendering but the modalpanel never closes . I tried to call a javasript alert in oncomplete, this alert is also not coming. Any reasons for this behaviour?

       

      Is there any timeout for this Ajax request.If so where I need to change it?

       

       

      code snippet:

       

      <a4j:commandLink id="commandLinkPlus"
            action="#{checkBean.action}"
            onclick="Richfaces.showModalPanel('ajaxLoadingModalBox',{width:300, top:250});"
            oncomplete="alert('hi');Richfaces.hideModalPanel('ajaxLoadingModalBox');">
      </a4j:commandLink>

       

       

      Thanks

      Ravi Kuchika