1 Reply Latest reply on Feb 4, 2008 1:05 PM by Sergey Smirnov

    ajaxSingle not working?

    Thorsten Kunz Novice


      there is a post like this in the A4J User forum but since it was not answered there and the projects got merges I thought I'll post the issue here again. I have a regular form that posts some data. I added a <a:support [...] /> tag to one of the controls and it works ok. When I debug in Firebug I see that its posts the form on event="onchange". But I don't want the entire form to get posted so I added ajaxSingle="true" to the a:support but the post still contains the entire form. Isn't it supposed to only send the one control then?

      This is the request with ajaxSingle=true


      This is the request with ajaxSingle=false

      Isn't the request supposed to be more lightwight when you set ajaxSingle to true? RF version is 3.1.4.GA


        • 1. Re: ajaxSingle not working?
          Sergey Smirnov Master

          yes, the AjaxSingle request contains the entire form. So, it works like designed. The difference is only on the server side.
          Previous version used to send the single form element. However it does not work for cases where the custom component uses more then one field to store the data. Also, most frameworks add specific field(s) to the form that are important for processing the request right way (like conversation id in Seam). So, the idea of limiting the post data was failed due to practical cases.