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 confirms, a component of the page should be AJAX-refreshed, otherwise nothing happens. The AJAX part works right now, I need to add the "confirmation" bit.. I thought I'd override BaseTree.newLink and decorate the AJAX call, but from that method I can't tell if the link will be related to a leaf or a folder.. Am I going the wrong way? Maybe newLink(id, callback) could be expanded to something like newLink(id, callback, model)? Many thanks for your attention! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
