Hi guys,

I have looked into the ECMA-262 and it seems indeed to be impossible to access the name of an instance variable in JS.

From inside a JS program the 'this' construct can do the job however it cannot cater for my 'Ajax' situation where an event is to transmit the name of the instance variable triggering the event. (The server knows the objects by their instance variable names because it creates the 'instname = new QxObject...' code in the first place)

I have resolved to use set/getUserData which works fine.

I like your foresight, Sebastian, to include this as a simple to use 'Swiss Army Knife' - thank you for a great piece of work and your ongoing effort.
(this of course extends to all the other contributors as well!)

One more reaffirmation to myself for having chosen qooxdoo
(after experimenting with prototype, rico, dojo etc which all have their advantages but ...)

Keep up the good work - and have a nice weekend

Cheers - Ralf


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to