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().getSelectedItems()[0];
>> if (ele) {
>> ele.disconnect();
>> ele.getParent().remove(ele);
>> ele.dispose();
>> }
>>
>> It works ok, but I receive this error when I change the selected item in
>> the
>> tree:
>>
>> 070921 ERROR: qx.manager.selection.TreeFullControlSelectionManager[131]:
>> Setting property "anchorItem" to "[object
>> qx.ui.treefullcontrol.TreeFolder]"
>> failed with exception: TypeError - this._states has no properties
>>
>> Am I doing something wrong?
>> Is the a workaround?
>> I'm using qooxdoo 0.6.5
>
> This sounds like a bug. The selection is not being cleared. The above
> sequence of commands should not be required, so that, too, is a bug, but
> as
> long as you're issuing all of those calls, you'll probably also want to
> issue
> a call to clear the selection or at least remove those elements being
> removed
> from the selection. The selection manager should be
> qx.manager.selection.TreeFullControlSelectionManager so you can look in
> there
> to see how to remove elements from the selection.
>
> It would also probably be useful to post a bugzilla ticket on this and
> I'll
> try to find the time to fix it at some point (hopefully soon).
>
> Cheers,
>
> Derrell
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
View this message in context:
http://www.nabble.com/newbie-question-about-iterator-the-tree-nodes-element-tf2456631.html#a9181453
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel