6 Replies Latest reply on Oct 15, 2009 11:25 AM by S P

    How to detect AJAX request in a filter

    S P Newbie

      Hello,

      I've setting up, before including RichFaces components in our webapp, a system to avoid multiple submission of a form. This system adds a requestId as hidden field in the form. A filter checks if the requestId has already been treated. If so, the request is waiting for the previous submission response.

      With some ajax components in the form, requests are submitting when an event occurs. Then the multiple submission filter declare that a submission have already be done for the requestId : The page goes blank!

      My question is the following : How to detect in a filter an ajax request in order to bypass the multiple submission checking.

      Hope my explanation is understandable...

      Regards,

      Sebastien