Awesome, that works. It would be nice if the callback with rpc could
work like the event listeners where 'this' is added to the end to have
it look outside the scope of the local function and to the methods of
the class.
Thanks Derrell!
NOTICE: This email and any file transmitted are confidential and/or legally
privileged and intended only for the person(s) directly addressed. If you are
not the intended recipient, any use, copying, transmission, distribution, or
other forms of dissemination is strictly prohibited. If you have received this
email in error, please notify the sender immediately and permanently delete the
email and files, if any.
Derrell Lipman wrote:
On Dec 13, 2007 11:37 PM, Jeremy Hahn <[EMAIL PROTECTED]> wrote:
Thanks Derrell. When i tried your suggestion, i get the error '_this is
not defined'.
Yeah, that was kinda silly. Of course if you declare a local variable
_this, it won't be accessible in a function with a different scope.
Try my alternate suggestion of the anonymous function. If your
function is large, then instead of using an anonymous function,
declare a separate handler function, but declare it inside of main
rather than as a separate class function.
Derrell
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
begin:vcard
fn:Jeremy Hahn
n:Hahn;Jeremy
org:;Corporate Infrastructure
adr;dom:Suite 200;;3250 W Commercial BLVD;Fort Lauderdale;FL;33065
email;internet:[EMAIL PROTECTED]
title:Systems Administrator
tel;work:954-334-8036
tel;cell:754-368-4282
url:www.hostway.com
version:2.1
end:vcard
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel