7 Replies Latest reply on Nov 5, 2012 8:55 AM by Jackie Li

    Why is my jsfunction action only called once?

    Jackie Li Newbie

      Helo everyone,

       

      I have the following jsFunction

      {code:xml}<a:jsFunction name="saveEdit"

                action="#{bean.saveEdit()}"

                eventsQueue="queue_save"

                ignoreDupResponses="false"

                requestDelay="10">

                <a:actionparam name="data" assignTo="#{bean.data}" />

      </a:jsFunction>

      {code}

      and I'm calling it on one user input, e.g. user click on one button, and invoked:

      {code:xml}<javascript>saveEdit('a');saveEdit('b');saveEdit('c');</javascript>

      {code}

       

      I debuged my server side code, and found out it's only called once, only the first request is passed back to the server.

       

      why is this? I thought ignoreDupResponses is for setting this?

       


      Thanks for your help!

      Jackie