Hi,

for me there is one question in conjunction with tree2 why not using plain old swing implementation (DefaultMutableTreeNode) as TreeNode-model. I've done this for me, and as far i can see it works very well. In the meantime the Swing-Toolkit is a very basic thing and comes with each JRE, so why not using well done and fully developed things. Another thing why you guys using two different model-implementations for normal tree and tree2 ??

Regards

Ronald


Sean Schofield wrote:
I'm going to try an get an overhaul of the tree2 stuff soon.  I'm
hoping to address this and several dynamic tree issues.  Now that the
website is published we just need to get the release done and I will
be able to focus on it.

In the meantime it seems like users have come up with some interesting
workarounds (including supplying your own model.)

Sean

On 2/10/06, Steven De Vlaminck <[EMAIL PROTECTED]> wrote:

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




--
*********************************************************
*M-Unicomp GmbH
*
*Ronald Müller
*
*Plauener Straße 163-165, Haus 11
*13053 Berlin
*
*fon   : +49 ( 0 ) 30  / 98 69 61 54
*mobil : +49 ( 0 ) 172 / 93 95 00 4
*fax   : +49 ( 0 ) 30  / 98 69 61 55
*email : [EMAIL PROTECTED]
*web   : www.unicomp-berlin.de
********************************************************

Reply via email to