Results 1 to 3 of 3

Thread: [CLOSED][3.0] Proxy load method not recieving arguments

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Sep 2007
    Location
    Pennsyvania, USA
    Posts
    232

    Default [CLOSED][3.0] Proxy load method not recieving arguments

    Before udpating from SVN a few minutes ago, the following method signature in my custom DWR data proxy worked:

    load : function(inParams, inReader, inCallback, inScope, inArgs) {

    After this update though, inArgs is coming up as undefined. I don't know if this is a bug or just an expected signature change or something... looking through the DataProxy.js code, it seems like it should still work... I do know that load is deprecated, so I'm wondering if someone updated something and didn't also update it to allow load to work as well?
    Frank W. Zammetti
    Author of "Practical Palm Pre webOS Projects"
    and "Practical Ext JS Projects with Gears"
    and "Practical Dojo Projects"
    and "Practical DWR 2 Projects"
    and "Practical JavaScript, DOM Scripting and Ajax Projects"
    and "Practical Ajax Projects with Java Technology"
    (For info: apress.com/book/search?searchterm=zammetti&act=search)
    All you could possibly want is here: zammetti.com

  2. #2
    Ext JS Premium Member
    Join Date
    Sep 2007
    Location
    Pennsyvania, USA
    Posts
    232

    Default

    Looking like this might be my own stupidity (I know, not exactly shocking!)... I'll post back and close the thread when I confirm that's the case, in the mean time, ignore this post...
    Frank W. Zammetti
    Author of "Practical Palm Pre webOS Projects"
    and "Practical Ext JS Projects with Gears"
    and "Practical Dojo Projects"
    and "Practical DWR 2 Projects"
    and "Practical JavaScript, DOM Scripting and Ajax Projects"
    and "Practical Ajax Projects with Java Technology"
    (For info: apress.com/book/search?searchterm=zammetti&act=search)
    All you could possibly want is here: zammetti.com

  3. #3
    Ext JS Premium Member
    Join Date
    Sep 2007
    Location
    Pennsyvania, USA
    Posts
    232

    Default

    Yes indeed, was me being dumb... the doRequest method signature changed, but I didn't update the overridden version in my proxy code to match. Once I did that, problem solved. Sorry 'bout that.
    Frank W. Zammetti
    Author of "Practical Palm Pre webOS Projects"
    and "Practical Ext JS Projects with Gears"
    and "Practical Dojo Projects"
    and "Practical DWR 2 Projects"
    and "Practical JavaScript, DOM Scripting and Ajax Projects"
    and "Practical Ajax Projects with Java Technology"
    (For info: apress.com/book/search?searchterm=zammetti&act=search)
    All you could possibly want is here: zammetti.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •