[CLOSED] [#636] Difference between DirectMethod request params and Ajax request params

Page 3 of 3 FirstFirst 123
  1. #21
    Sorry. yes, it does deserialize correctly. I think last time I tried as I was modifying in the debugger, I didn't update the value being used by the rest of the code, I just looked at a local value. This time I made sure, and the response came back showing a correctly serialized object which included the nested data. So, yeah, the recursive property could be useful...!
  2. #22
    Added the recursive option. Please set to true for a recursive call of Ext.Object.toQueryString on preparation of request's parameters. Defaults to false. Applicable only if encode is false.

    Please try that out for nested objects.

    A global setting is available as well.
    Ext.net.DirectEvent.recursive = true;
  3. #23
    Got latest and tried it. Seems to work very nicely. Many thanks. I think you can mark this closed. Appreciate all your help.
  4. #24
    Thanks for confirming!

    We really appreciate your question and help on implementing that!

    It is awesome that we now have those additional options.
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Replies: 2
    Last Post: Oct 10, 2014, 8:50 AM
  2. Replies: 13
    Last Post: May 16, 2011, 1:26 PM
  3. [CLOSED] Adding params as jsonData for jsin Ajax requests
    By r_honey in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: May 06, 2010, 7:31 AM
  4. Ext.net.DirectMethod.request PARAMS
    By sipo in forum 1.x Help
    Replies: 0
    Last Post: Apr 15, 2010, 5:06 AM
  5. Page_ Ajax Load Complete BUG on Ajax Request
    By jeybonnet in forum 1.x Help
    Replies: 8
    Last Post: Jun 22, 2009, 11:19 AM

Posting Permissions