Not fully solved. :-(
I have:
qx.Class.define('A', {
statics: {
f: function() {}
}
});
qx.Class.define('B'), {
extend: A,
members: {
e: function() {
this.self(arguments).f();
}
}
});
calling (new B()).e() results in this.self(arguments).f==undefined
Is this normal?
dperez wrote:
>
> Bingo, that was it!
> Base class was Object, not qx.core.Object
>
> Placed this valuable info in the wiki!
>
> Updated http://qooxdoo.org/documentation/0.7/class_declaration and
> http://qooxdoo.org/documentation/0.7/oo_feature_summary
>
>
> Sebastian Werner wrote:
>>
>> Can you tell me what's the superclass is? It should be at least
>> qx.core.Object. Otherwise this.self is undefined.
>>
>
>
--
View this message in context:
http://www.nabble.com/this.self%28arguments%29-tf3901756.html#a11061611
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel