Chris, Just wanted to say that's a very well written wiki page which seems to pull together all relevant points without being too verbose. Bravo.
Hope you get the urge to write more. Andy. > -----Original Message----- > From: Luca Fossato [mailto:[EMAIL PROTECTED] > Sent: 19 April 2008 22:30 > To: Tapestry users > Subject: Re: T5 actionlink, ajax zone and user onclick handler > > Hi Chris, > > thank you ! > > I will read your article and I will try to use the mixin to implement > the confirmation dialog for my "delete" actionLink. > Give me some days to digest all this stuff and to implement it into my > test application ;^) > > Regards, > Luca > > Chris Lewis wrote: > > Hi Lucca, > > > > I'd been looking for a good example to use to write a wiki explaining > > the integration javascript by Tapestry, and your request gave me what > I > > was looking for. Check out the article here: > > http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained > (project > > source: http://thegodcode.net/tapestry5/jsclarity-project.zip). Apart > > from discussing in detail how T5 integrates JS, it shows how to > create a > > mixin that can be added to link components. The mixin attaches js > code > > to the component, so that when the link is clicked the user is > presented > > with a confirmation box. Canceling the box cancels the click, while > OK > > allows it to proceed as normal. This should be useful for those > looking > > to add click confirmation functionality, but in your case I'm not > sure > > if it will help. I ask you to try and see, but the problem will be > how > > T5 attaches the js handlers for the ajax code (that is, they may fire > > before the confirmation code). > > > > Anyway, I think it will be helpful to those looking for such an > > explanation, and I hope it helps you. > > > > chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]