Unfortunately winService.self.IMAGE_NAME does not work too. It has
"undefined" value.
Firebug shows that winService.self references to the function that has the
attached "self" function. Latter self function has the attached "classname"
variable and its value is "qx.core.Object".



Fabian Jakobs-2 wrote:
> 
> .self(arguments) will always return a reference to the class the calling
> function belongs to regardless of the object you call the method on. In
> you case this will always the class the constructor is defined in.
> 
> If you have an instance you can get the class using the ".self" property:
> 
> winService.self.IMAGE_NAME
> 
> Best Fabian
> 

-- 
View this message in context: 
http://www.nabble.com/someObject.self%28arguments%29.staticVar-does-not-work-tf3981046.html#a11305827
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to