Yes, this is normal.

Static members are not inherited. You need to use a additional 
".superclass" then.

Sebastian


dperez schrieb:
> 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.
>>>
>>
> 


-------------------------------------------------------------------------
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

Reply via email to