Re: Clicking a tree leaf and confirmation

2008-04-24 Thread Federico Fanton
On Thu, 24 Apr 2008 13:44:15 +0200 "Thomas Kappler" <[EMAIL PROTECTED]> wrote: > Hi Federico, > > you gain a lot of flexibility when overriding newNodeComponent() > instead. There, you return a custom Panel where you can do what you > want, i.e., add the link with all desired functionality. And

Re: Clicking a tree leaf and confirmation

2008-04-24 Thread Thomas Kappler
Hi Federico, you gain a lot of flexibility when overriding newNodeComponent() instead. There, you return a custom Panel where you can do what you want, i.e., add the link with all desired functionality. And you can of course give your Panel any constructor you like. An example from our project:

Clicking a tree leaf and confirmation

2008-04-24 Thread Federico Fanton
Hi all! First of all, I'd like to celebrate the achieved complete elimination of JSF from our project here, thanks to Wicket :) Next, I'm facing a little problem.. I have a LinkTree and I'd like to make it ask for confirmation (via a JS alert) whenever the user clicks on a leaf.. If the user con