[BUG: Datasource onRequestComplete method is wrong

Last post 07-31-2006 6:13 AM by Luis Abreu. 0 replies.

Sort Posts:

  • [BUG: Datasource onRequestComplete method is wrong

    07-31-2006, 6:13 AM
    • All-Star
      25,662 point All-Star
    • Luis Abreu
    • Member since 02-12-2005, 1:22 AM
    • Madeira [Portugal]
    • Posts 5,368
    • TrustedFriends-MVPs

    Oh, well...it looks like we've got another bug.

    the onRequestComplee method is called when the handler invocation is finished. the problem is that iniside you have something like this:

     onLoadComplete.call(this, sender.get_response().get_object());

    the problem is that event though the event is generated by the Sys.Net.WebRequest class, the sender parameter (1st parameter passed to the method) points to the executor that made the call. so, i should only be sender.get_object( )...

    --
    Regards,
    Luis Abreu
    email: labreu_at_gmail.com
    EN blog:http://msmvps.com/blogs/luisabreu
Page 1 of 1 (1 items)