Hello all, I am making my first steps in exploiting qooxdoo's data binding options (so far I'm ashamed to admit I programmed everything by hand).
I have successfully managed to create a tree, a treeController and to use the Json marshal to create a model from results obtained from an RPC call to my server (web2py). So far so good. Mostly the tree items I have are similar to each other, but some are different and I would like to designate it by giving them different icons. I have been trying to do this using a delegate, but it seems to me that the configureItem function which I would like to use has no access to the model generating the item, and hence can only set properties globally for all items. Am I mistaken? Is there a way of achieving different settings for different items without having to either subclass the controller or manipulate the tree after its creation by hand? A second question I have is - is it possible to use a "JSON-RPC" store to bind the data instead of using RPC calls which generate a model using a marshal and applies that model to the controller? Thanks for the excellent work, Omri -- View this message in context: http://qooxdoo.678.n2.nabble.com/Using-the-treeController-to-generate-a-tree-from-JSON-data-tp6607643p6607643.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
