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

Reply via email to