It works perfectly !!

Thank you for this fast answer :)



Sebastian Werner wrote:
> 
> You must remove the selection from the element before removing it. After 
> removal it does not have any relation to a tree anymore. That's why the 
> error occurs.
> 
> Cheers,
> 
> Sebastian
> 
> 
> 
> Carl Denis schrieb:
>> Hi,
>> 
>> I use this method this way :
>> 
>> var node = this.getManager().getSelectedItems()[0];
>> var parentFolder = node.getParentFolder();
>> parentFolder.remove(node);
>> 
>> I works perfectly but, when I click on another item of my
>> qx.ui.treefullcontrol.Tree the following error message appear in the log
>> popup window :
>> 
>> qx.ui.treefullcontrol.TreeFolder[334]: Modification of property
>> "selected"
>> failed with exception: TypeError - vTree has no properties at
>> http://editor.api4map.com/qooxdoo/frontend/framework/source/class/qx/ui/treefullcontrol/AbstractTreeElement.js:170
>> 
>> Best regards.
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Built-in-images-and-themes-tf2225443.html#a6320451
Sent from the qooxdoo-devel forum at Nabble.com.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to