Re: [qooxdoo-devel] Structured Properties

2014-02-25 Thread Mustafa Sak
Gruß Mustafa Sak Applications & Integration 1&1 Internet AG Ernst-Frey-Straße 10 DE-76135 Karlsruhe Von: Pierre Dupree [mailto:dupreepierr...@gmail.com] Gesendet: Montag, 24. Februar 2014 23:33 An: qooxdoo-devel@lists.sourceforge.net Betreff: [qooxdoo-devel] Structured Properties

Re: [qooxdoo-devel] Structured Properties

2014-02-24 Thread Alex Gölkel
Hi Pierre, afaik this is not possible. You could use simple JS objects for this: myClass { prop1 : { check : "object" } } myObject.setProp1({subProp1:42}); alert (myObject.getProp1().subProp1); But if you change the supProps, no setter will be called. Or you can make a data class for your

[qooxdoo-devel] Structured Properties

2014-02-24 Thread Pierre Dupree
Hey guys, can someone explain to me how I can create a model class with a structured property? By structured property I mean the following: myClass { Properties : { prop1 : { }, prop2 : { subprop1 : { } subprop2 : { } } } } afterwards I would be able to