Re: Log last error on error page

2010-11-23 Thread Martin Grigorov
The easiest I can think of is to override org.apache.wicket.RequestCycle.onRuntimeException(Page, RuntimeException) and return your own page which will show the error On Tue, Nov 23, 2010 at 2:43 PM, Brown, Berlin [GCG-PFS] berlin.br...@primerica.com wrote: Is there a way to log the last error

RE: Log last error on error page

2010-11-23 Thread Brown, Berlin [GCG-PFS]
); return new MyExceptionPage(e); } } -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Tuesday, November 23, 2010 9:05 AM To: users@wicket.apache.org Subject: Re: Log last error on error page The easiest I can think of is to override

Re: Log last error on error page

2010-11-23 Thread Martin Grigorov
, 2010 9:05 AM To: users@wicket.apache.org Subject: Re: Log last error on error page The easiest I can think of is to override org.apache.wicket.RequestCycle.onRuntimeException(Page, RuntimeException) and return your own page which will show the error On Tue, Nov 23, 2010 at 2:43 PM, Brown

RE: Log last error on error page

2010-11-23 Thread Brown, Berlin [GCG-PFS]
...@apache.org] Sent: Tuesday, November 23, 2010 9:28 AM To: users@wicket.apache.org Subject: Re: Log last error on error page On Tue, Nov 23, 2010 at 3:18 PM, Brown, Berlin [GCG-PFS] berlin.br...@primerica.com wrote: Another question, how do I throw the default error page? what does it mean to throw

Re: Log last error on error page

2010-11-23 Thread Martijn Dashorst
On Tue, Nov 23, 2010 at 3:18 PM, Brown, Berlin [GCG-PFS] berlin.br...@primerica.com wrote: Another question, how do I throw the default error page? You cause an error and press the print button. You walk to your printer and get the printout. Now you have two options: 1. cram it together into a

Re: Log last error on error page

2010-11-23 Thread Martin Grigorov
...@apache.org] Sent: Tuesday, November 23, 2010 9:05 AM To: users@wicket.apache.org Subject: Re: Log last error on error page The easiest I can think of is to override org.apache.wicket.RequestCycle.onRuntimeException(Page, RuntimeException) and return your own page which will show the error