Re: Exception Page from Tapestry

2006-01-19 Thread Lindsay Steele
Thanks for the help, but nobody actually answered the question - ie, how do I get the same page as Tapestry generates sent to me. As stated I was already sending the exception. In any case, quite helpful, I have tweaked things using Bryans code and come up with a slighly more informative

RE: Exception Page from Tapestry - problem with character encoding after general exception

2006-01-18 Thread Marcin
d > Generic Exceptions. It's then up to you to catch the error and do whatever > you want in your page's pageBeginRender event (or elsewhere, that's just a > convenient place to get involved). > > --- Pat > > > -Original Message- > > From: R

RE: Exception Page from Tapestry

2006-01-18 Thread Patrick Casey
ou want in your page's pageBeginRender event (or elsewhere, that's just a convenient place to get involved). --- Pat > -Original Message- > From: Rudolf Baloun [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 17, 2006 2:25 AM > To: Tapestry users > Subjec

Re: Exception Page from Tapestry

2006-01-17 Thread Bryan Lewis
We do a similar thing, intercept activateExceptionPage() in a custom Engine. You can get the same detailed trace that Tapestry displays: ExceptionDescription[] edArray = new ExceptionAnalyzer().analyze(cause); // I'm omitting some code that checks for some trivial exceptions that

Re: Exception Page from Tapestry

2006-01-17 Thread Rudolf Baloun
Hi, you can extends the BaseEngine: public class MyBaseEngine extends BaseEngine { @Override protected void activateExceptionPage(IRequestCycle cycle, Throwable cause) { // do here something! } } Add MyBaseEngine to your configuration-file (here its called blabla.applicati

Re: Exception Page from Tapestry

2006-01-17 Thread Olve Hansen
tir, 17,.01.2006 kl. 21.07 +1100, skrev Lindsay Steele: > Is there anyway to get the exception page that tapestry displays on an > exception. > > At the moment I intercept the exception and display a custom page to > the user. At the same time I have it send me a mail > that the exception occ