This seems to be a more general problem where the refine of the init attribute is ignored if the original property definition does not contain the init attribute.
I've created a bugzilla issue for this: http://bugzilla.qooxdoo.org/show_bug.cgi?id=467 Dietrich Streifert schrieb: > Hello List, > > I've derived a class from qx.ui.tree.TreeFolder which refines the icon > property this way: > > icon : > { > refine : true, > icon : "icon/16/myIcon.png" > } > > If I check the property through its getter in the overriden constructor > the value of the property is null: > > construct : function(vLabel, vIcon, vIconSelected) > { > this.base(arguments, vLabel, vIcon, vIconSelected); > > this.debug('construct: getIcon(): ' + this.getIcon()); > }, > > As I understood the new property system the result of the getter should > be the value of the init attribute of the icon property. > > What is wrong here? > > Thank you for your help. > > Regards. > > -- Mit freundlichen Grüßen Dietrich Streifert -- Visionet GmbH Firmensitz: Am Weichselgarten 7, 91058 Erlangen Registergericht: Handelsregister Fürth, HRB 6573 Geschäftsführer: Stefan Lindner ------------------------------------------------------------------------- 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
