PSkarthic wrote: > > Thanks for your reply > i have been waiting for long time > > > target.addComponent(this); also does not solved my problem. > > if i click a node the child is created under the node but doesn't expanded > but when i click it second time then it expands but with two child. > For me @Override protected void onNodeLinkClicked ( AjaxRequestTarget pTarget, TreeNode pNode) { [...] myNavigationTree.getTreeState().expandNode ( pNode); [...] } solved that problem. Where pNode is the (sub-tree-) root node under which new nodes have been added dynamically. -- View this message in context: http://www.nabble.com/Problem-with-dynamic-insertion-to-Tree-tp21474815p23776501.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org