0 Replies Latest reply on Feb 16, 2012 6:46 AM by Hardy Massen

    Can I access the readyState and status of an ajax-request sent by richfaces?

    Hardy Massen Novice

      Hello,

       

      I'm lookin for a way to hook some kind of listener into the richfaces-ajax-processing.

       

      I want to check the readyState and status of every XMLHttpRequest I send and then do some action depending on state and status. (e.g. add a FacesMessage or do some DOM-manipulation). 

        

      I would know how to do this, if I program the ajax-functionality in javascript, but can I achieve this also by plain rich-faces-means?

       

      The org.ajax4jsf.event.AjaxListener doesn't seem to give me access to the XMLHttpRequest.

       

      Any help is really appreciated.


      LeoLo