Hi all, I am building a tree component, with the list of pages,
<root> -Page1 -page2 -page3 onclick it should navigate to respective page accordingly. some thing like this, add(new BookmarkablePageLink<Void>("page1", UserList.class)); add(new BookmarkablePageLink<Void>("page2", RoleList.class)); How to get this in tree component and set the responsepage ? tree = new LinkTree("tree", createTreeModel()){ @Override protected void onNodeLinkClicked(Object node, BaseTree tree, AjaxRequestTarget target) { super.onNodeLinkClicked(node, tree, target); final DefaultMutableTreeNode treeNode = (DefaultMutableTreeNode) node; final IModel model = (IModel) treeNode.getUserObject(); setResponsePage( ? ); } Thanks. Pen -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-attach-treelink-to-pages-tp3900319p3900319.html Sent from the Users forum 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