Thanks for the suggestion Uli - I was just using the ProgressiveDisplay component in my templates for slow ops and hadn't (and hadn't planned on) a custom handler for it.
I wonder is there a more generic timeout type solution that could be applied, rather than a special case per page, where the doOP() method needs to be known in advance. Regards, Jim. -----Original Message----- From: Ulrich Stärk [mailto:u...@spielviel.de] Sent: 24 May 2010 11:31 To: Tapestry users Subject: Re: t:ProgressiveDisplay in error scenario Can't you do that in your event handler code? Something like Object onProgressiveDisplay() { try { doOp(); return result; } catch (Exception e) { return errorBlock; } } with result being the Block to display on success and errorBlock being a Block containing some error message. Uli On 24.05.2010 11:50, Jim O'Callaghan wrote: > Is there a way to use the t:ProgressiveDisplay component to perform as usual > when waiting on a long op but still eventually report a user-visible error > when one happens during processing? It's great for layout, but having to > look through the logs when the animated ProgressiveDisplay image runs > indefinitely is less than ideal. Something along the lines of a timeout > period to wait on an Op. > > > > Regards, > > Jim. > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org