I have a LinkTree where am adding new nodes via AJAX where the node is not
visually refreshing until I call myLinkTree.invalidateAll();.  The problem
is that the tree refresh takes too long when I have a bunch of nodes
displayed.  AbstractTree.invalidateAll() appears to "redraw" the whole tree,
but I only need to "redraw" the single node (I may be wrong on this and it
may be working exactly as I need it to, but it is slow).

My basic setup is a tree on the left that dynamically swaps out panels via
AJAX on the right based on the node selected.  The tree itself only starts
with the root and first children.  All first children load their child nodes
via an AJAX call on expand.  These nodes will correctly refresh as the nodes
are added and then the parent is expanded.  I cannot collapse and re-expand
the parent node in this case as expanding a node would cause the tree to
close nodes the user has already opened.  What I need is to be able to
insert a node like so...

- My Root
  |--First Child
      |-- First Grandchild
      |-- NEW NODE
      |-- Last Grandchild

I need the First Grandchild and Last Grandchild to already be expanded and
displaying before I add NEW NODE.

-- 
View this message in context: 
http://www.nabble.com/LinkTree-Node-Refresh-tp16041813p16041813.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to