Hi!
I haven't done this myself, but have a look at http://wiki.apac
he.org/myfaces/Tree2 under "Changing the Content
of the Tree". There are two examples there of lazy
loading that maybe could put you in the right direction at
least.
Regards,
Eivind
-----Original Message-----
From: Kunaal [mailto:kunaal.vaghela riskdecisions.com]
Sent: 28. juli 2006 12:05
To: users myfaces.apache.org
Subject: Tomahawk Tree2 Problem
I have created a client-side Tomahawk Tree2 component which
works and displays correctly. The only problem is when i
select an item node in the tree (a commandLink component),
it refreshs the tree before displaying the item. My
debugging shows the data is re-collected via the backing
bean and then session bean.
I wish to have hundreds and potentially thousands of
children in the Tree, and when i have these children, it
takes several minutes to refresh the tree eventhough i
don't want to refresh the tree just display the selected
item.
I have tried using HTML Frames to display the selected node
in a different frame but it still refreshs the Tree data and
then displays the selected item in the other frame.
Does anyone know a way of preventing the tree refreshing
when the item is selected. Is it possibly an error in the
Tree Component???
--
View this message in context: http://www.nabble.com/Tomahawk-Tree2-Problem
-tf2014569.html#a5536837
Sent from the MyFaces - Users forum at Nabble.com.
|