Good point. I'll add the method to AbstractTree, should be there before 1.2.3 is out.
-Matej Karl M. Davis wrote: > Matej, > > Doesn't it make more sense just to override onNodeLinkClicked(...)? That's > what I've been doing, anyways. That way you don't have to worry about how > the ndoes are created-- just what to do with them once one is clicked. If > you want to control how the nodes look, override renderNode(...) to > customize the node's text, and getNodeIcon(...). > > -- Karl > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Matej Knopp > Sent: Thursday, October 12, 2006 7:18 AM > To: wicket-user@lists.sourceforge.net > Subject: Re: [Wicket-user] Handling tree node onclick > > I assume you are talking about the new (ajax) tree. > > Override the method newNodeLink to create link with action you want. > > -Matej > > billa wrote: >> Can someone point me to some sample code for intercepting a tree node >> onclick event? I would like the tree node click to update a pane on >> the same page that contains an edit form for the object represented by the > node. >> > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user