Vinicius Carvalho wrote: > Thanks that did the trick :) > > Regarding the exception, yeah, seems that tapestry captures all > runtime exceptions and wrap them inside ApplicationRuntimeException, > so my catch(ChatServerException) would never be executed :) So, are you catching ApplicationRuntimeExceptions now?
You could probably have your own implementation of ListenerMethodInvoker that would let those exceptions pass through. > > Regards > > On 8/31/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> Depending on the complexity of your confirmation dialog, you can do >> something simple, too, like taking advantage of informal parameters. :) >> Something like: >> <a href="@DirectLink" ... onclick="return confirm('Are you sure you want >> to purge all elements?')">Purge</a> >> >> >> Robert >> >> > Vinicius Carvalho wrote: >> >> 1st: Is there an way to have an confirmation message for my >> >> DirectLink? Like showing an confirmation box "Are you sure you >> want to >> >> purge all elements?" and if ok, calling the link? I believe I need to >> >> use the ILinkRenderer for that, but I'm kinda confused yet, just need >> >> some suggestions :) >> > you can use an ILinkRenderer or check out the source of these >> components >> > >> http://tapfx.cvs.sourceforge.net/tapfx/tapfx-tapestry4/src/java/net/sf/tapfx/components/confirm/ >> >> >> >> >> 2nd: Its related to my last post, does runtime exception get an >> >> special treatment by the framework? Is this why I can't capture them >> >> inside my EngineService? >> > To better understand, is the problem that >> > >> > chatListener.trigger does not throw any exceptions? >> >> >> >> My best regards >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> > >> > >> > -- >> > Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr >> > Tapestry / Tacos developer >> > Open Source / J2EE Consulting >> > >> > >> > --------------------------------------------------------------------- >> > 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] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / J2EE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]