0 Replies Latest reply on Aug 28, 2011 5:19 PM by Damir Besedić

    Detect Failure of Ajax-Request in oncomplete event

    Damir Besedić Newbie

      Hi.

       

      I use Richfaces 3.3.3.Final.

       

      I don't know if i missed something, but I can't see a simply solution to check if an ajax-Request was succesfull in the oncomplete script. My problem is that in case the Server didn't response the Ajax-Request, the oncomplete script will be executed anyway.

       

      I can use the A4J.AJAX.onerror script to detect errors but is there any simpler Solution to detect such Situation in the oncomplete Script?

       

      I would be gratefull for any sugesstions...