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 property:
myProp {
subProp1 : {}
}

myClass {
prop1 : {
    check : "myApp.myClasses.myProp"
}
}

myObject.setProp1(new myProp().set({subProp1:42}));
alert (myObject.getProp1().getSubProp1());

Regards,
Alex



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Structured-Properties-tp7585383p7585386.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to