Hi all,

if I have a mixin like this:

qx.Mixin.define("myapp.MMixin",
{
  statics : {
    myhash: {}
  },

  members: {
    mymethod : function() {
       this.self(arguments).myhash.foo = 'bar'; // this does not work !!!!

       this.constructor.myhash.foo = 'bar'; // this does not work !!!!
    }
  }
});

How do I access the static member myhash? The code above does not work!

The mixin is of course used via include in another class.

Any help would be great!

Regards
Dietrich

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to