1 Reply Latest reply on Jan 3, 2011 10:53 AM by Ilya Shaikovsky

    Ajax request firing twice

    Ravi kiran Kuchika Newbie




          My Ajax request is firing twice,using rich:menuItem.


      My scenario:

                Onclick of the menuItem am firing a request in Ajax mode. Am getting the response and am doing some parsing for that response.

      For small amount data its rendering on the page but for the large amount of data the request is firing again and its repeating for around 5 times maximum. the page is not at all rendering because its keep on firing the same requests.


      Components am using:

                rich:menuItem, on click of that am opening a modal panel to show the user that the request is processing. this modal panel am calling on onComplete of the menuItem action and its not at all closing because of this continous firing of request.



      Ravi Kuchika