expandPath in AbstractTree

2009-11-19 Thread Swarnim Ranjitkar

I see that wicket 1.2  had expandPath in AbstractTree which i don't see anymore 
in 1.4. I want to use this so that I can expand some node (not the current 
node) can you please let me know how I can do this in 1.4

expandPath
public void expandPath(javax.swing.tree.TreePath path)
Ensures that the node identified by the specified path is expanded and
 viewable. If the last item in the path is a leaf, this will have no
 effect.


Parameters:path - the TreePath identifying a node
  

RE: expandPath in AbstractTree

2009-11-19 Thread Swarnim Ranjitkar

I figured it out. i used
tree.getTreeState().expandNode(destinationNode);

 From: swarn...@hotmail.com
 To: users@wicket.apache.org
 Subject: expandPath in AbstractTree
 Date: Thu, 19 Nov 2009 14:38:23 -0800
 
 
 I see that wicket 1.2  had expandPath in AbstractTree which i don't see 
 anymore in 1.4. I want to use this so that I can expand some node (not the 
 current node) can you please let me know how I can do this in 1.4
 
 expandPath
 public void expandPath(javax.swing.tree.TreePath path)
 Ensures that the node identified by the specified path is expanded and
  viewable. If the last item in the path is a leaf, this will have no
  effect.
 
 
 Parameters:path - the TreePath identifying a node