Hi again, thank you for the last help with windows and desktop widget. I'm using JsonToTree as a code source. http://demo.qooxdoo.org/current/demobrowser/#data~JsonToTree.html
I've also managed to attatch icon tag into the JSON file to assign an icon with each element individually via controller. Now I'm stuck with tree selection: Whenever I select an element of a tree, I need to send a request of json file to server (I guess I'll try to copy JsonToTree method for that), and fill in the table with that JSON. But in order to know what to request I'm trying to add a "tag" field to tree JSON file. For some reason I can't extract that "tag" field from the JSON file. I'm using a "getselection()" method, but it seems not to be rich enough - it only returns some weird names which looks like 'name"icons"kids"[128-0]' and changes if I change something in page's layout. I need that tag to control displayed tables, and to do some other stuff. I'm also using a "changeSelection" listner in order to catch a pick of an element, but it doesn't seem to be a good option, since doesn't allow to redraw a table. http://demo.qooxdoo.org/current/demobrowser/#treevirtual~TreeVirtual_Selections.html And I'm not yet sure how to make selection of a leaf by doubleclick. How do I get the "tag" field out of the JSON file into a string var? Sorry - can't bring the code from work here. :-( I'll try to specify my problems, if somebody will want to help me to work things out. -- View this message in context: http://qooxdoo.678.n2.nabble.com/jsontree-additional-fields-tp7585565.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel