Hello,

today I tried to define a qx.data.Array property on one of my class (to use
data binding with a List on it). I could not manage to understand how to
properly initialize this property to make it work.

I tried several things:

1) Defining the property as: myProperty: { init: new
qx.data.Array(["hello"]), check: "qx.data.Array" } (I am not surprised this
one did not work)

2) Calling this.initMyProperty(new qx.data.Array(["hello"]) when in the
constructor. Also used deferredInit on the property configuration, but did
not help.

3) Calling this.setMyProperty(new qx.data.Array(["hello"]) when in the
constructor.

In any case, my property is always undefined. It works if I do directly in
the constructor:

        this.fonts = new qx.data.Array(["ara", "bibi"]);

but in this case I am bypassing the whole purpose of init, right?

How should I do it properly ?

Thanks

Jean-Noel
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to