On Thu, Jul 19, 2012 at 7:49 AM, Lenny Primak wrote:
> Tynamo has a wonderful module called tapestry-exception page.
> It's created just for this purpose. Tynamo.org.
And in Tapestry 5.4, tapestry-exceptionpage is built-in. If the
handling is specific to a particular page, I'd use onException. If
Tynamo has a wonderful module called tapestry-exception page.
It's created just for this purpose. Tynamo.org.
On Jul 19, 2012, at 8:53 AM, captain_rhino
wrote:
> I have several pages that several methods within them
>
> public class Page
> public void onActivate(EventContext ec){
>//
On Thu, 19 Jul 2012 09:53:39 -0300, captain_rhino
wrote:
I have several pages that several methods within them
public class Page
public void onActivate(EventContext ec){
//Code
}
public void onSuccess(){
//code
}
void onSelectedFromAButton(){
//code
}
In tapestry
Tapestry's default behaviour is to redirect to the ExceptionReport page. If
you want to use your own custom page, you can override the
SymbolConstants.EXCEPTION_REPORT_PAGE symbol. Make sure that your custom
page implements ExceptionReporter.
If you'd like to override this behaviour all together,