Hey Pierre,
If you want to have full qooxdoo properties feature set, you have to create two
classes like here: http://tinyurl.com/qzj4rxe
But if you wish to have a model which automatically generates a cascaded class
structure by JSON value, you can use this example: http://tinyurl.com/la2e2ut
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
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 access the subproperties via myObject (instance
of myClass) using myObject.getProp2().getSubprop1();
How exactly would the code look for that?
Thanks very much!
------------------------------------------------------------------------------
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
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel