Hey, I had this problem "Encountered a node [0] + with an illogical state" already quite some time with tree2. When I tried to use the attached treemodel of Aleksei, I did no longer have this problem. As mentionned before, a lot of people seem to have this problem, but no one had a solution for it. This treemodel actually does the trick! Thanx Lexi!!
Steven -----Original Message----- From: Aleksei Valikov [mailto:[EMAIL PROTECTED] Sent: vrijdag 10 februari 2006 11:26 To: MyFaces Discussion Subject: Re: Tree2 reset Hi. >> What is the correct way to reset a servet side Tree2 component? I am >> running into the dreaded "Encountered a node [0] + with an illogical >> state". It is understandable becase I have reset the bean containing >> the tree but what keys (somewhere in app scope?) should I clear so >> that the application thinks it has never seen the tree before? > > > I have exactly the same problem! the app remember the old tree so if i > remove some node that was expanded i get that error! i searched > throughout the internet and i found many people with this problem but > never a solution. I thought that if i could collapse the tree (before > i delete the nodes) i would not get the error but I am not able to > collapse the tree working in clientSideToggle mode. So i solved using > serverSide Toggle mode (clientSideToggle="false") and collapsing the > node I want to delete before deleting it. > Anyway it would be very useful to know a way to reset all the > information about any previous version of the tree. TreeModel from the Tree2 is quite weird. Try the attached tree model (compatible with the Tree2 tree model). Bye. /lexi

