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?
Somethi
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