Re: [qooxdoo-devel] newbie question about iterator the tree nodes element

2007-02-27 Thread dperez
Thanks for your interest. When I have time, I will create a ticket in Bugzilla, or even solve the bug myself. Derrell.Lipman wrote: > > dperez <[EMAIL PROTECTED]> writes: > >> I use this code to delete an TreeFile from a treefullcontrol.Tree: >> >> var ele = myTree.getManager().getSelecte

Re: [qooxdoo-devel] newbie question about iterator the tree nodes element

2007-02-26 Thread Derrell . Lipman
dperez <[EMAIL PROTECTED]> writes: > I use this code to delete an TreeFile from a treefullcontrol.Tree: > > var ele = myTree.getManager().getSelectedItems()[0]; > if (ele) { > ele.disconnect(); > ele.getParent().remove(ele); > ele.dispose(); >

Re: [qooxdoo-devel] newbie question about iterator the tree nodes element

2007-02-26 Thread dperez
Hi all, I use this code to delete an TreeFile from a treefullcontrol.Tree: var ele = myTree.getManager().getSelectedItems()[0]; if (ele) { ele.disconnect(); ele.getParent().remove(ele); ele.dispose(); } It works ok, but I r

Re: [qooxdoo-devel] newbie question about iterator the tree nodes element

2006-10-17 Thread Alex D.
Hi Edmond, somehow i don't know any one-code-line-way to do this. You will have to write recursive function to iterate through the tree(like any other tree too). Folders(and files) have getItems() method. By folder you become an array with all visible children. So if the folder is closed you'll

Re: [qooxdoo-devel] newbie question about iterator the tree nodes element

2006-10-17 Thread dperez
Given the nature of trees, a simple recursive algorithm will do the job. Edmond Lee wrote: > > Hi,folks > > Can anyone tell me how can I iterator the treenodes(treefiles or > treefolders) in the tree/treefullcontrol compoments? > > Thks > Edmond Lee > > --

[qooxdoo-devel] newbie question about iterator the tree nodes element, pls

2006-10-17 Thread Wenhua.Li
Title: Window Memory Test Hi,folks   Can anyone tell me how can I iterator the treenodes(treefiles or treefolders) in the tree/treefullcontrol compoments?   Thks Edmond Lee - Using Tomcat but need to do more?

[qooxdoo-devel] newbie question about iterator the tree nodes element

2006-10-16 Thread Wenhua.Li
Hi,folks Can anyone tell me how can I iterator the treenodes(treefiles or treefolders) in the tree/treefullcontrol compoments? Thks Edmond Lee - Using Tomcat but need to do more? Need to support web services, security? Get s