Hey,
I found a different way, which although might not be the most elegant, I
think saves me the most trouble - I simply fire a data event of the original
property which I bound to the icon.
This way, every time I run formController.updateModel() I follow it by
model.fireDataEvent("changeProperty", model.getProperty()).
This seems to work fine, and apart for some inelegance I don't see a problem
with it.
What would you say? Is this a good way to achieve this effect or am I
missing something?
Best wishes,
Omri
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Using-the-treeController-to-generate-a-tree-from-JSON-data-tp6607643p6626283.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel