Upps, should have simply copied my real mixin definition. This is what I meant:

qx.Mixin.define("my.invalid.Mixin", {
  construct : function() {
    this._prop = new Array();
  },

  members : {
    /** {Object[]} internal mixin property */
    _prop : null,
  }
});


[EMAIL PROTECTED] wrote:
> Hi,
> 
> if I define a member property in a Mixin and set the initial value null, 
> loading
> that mixin breaks with the error:
> 
> mixin.$$members[key] has no properties                       Mixin.js (line 
> 126)
> mixin.$$members[key].mixin = mixin;
> 
> 
> The Mixin looks like this:
> 
> qx.Mixin.define("my.invalid.Mixin", {
>   construct : function() {
>     this._prop = new Array();
>   },
> 
>   properties : {
>     /** {Object[]} internal mixin property */
>     _prop : null,
>   }
> });
> 
> 
> As a workaround, I can set _prop to "" or -1 or somewhat similar.
> 
> Thanks
> Fabio
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to