There is always the classic :
getApplicationSettings ().setInternalErrorPage (MyCustomErrorPage.class);
But that will not give you the exception thrown.
On 1/24/07, Apaar Trivedi [EMAIL PROTECTED] wrote:
Hi all, I am trying to make a custom exception page.
I have created a class which
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Custom exception page
There is always the classic :
getApplicationSettings ().setInternalErrorPage
(MyCustomErrorPage.class);
But that will not give you the exception thrown.
On 1/24/07, Apaar Trivedi [EMAIL PROTECTED] wrote:
Hi
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eelco
Hillenius
Sent: Wednesday, January 24, 2007 10:23 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Custom exception page
Override WebApplication#getDefaultRequestCycleFactory and provide the
factory to create your custom
-user] Custom exception page
There is always the classic :
getApplicationSettings ().setInternalErrorPage (MyCustomErrorPage.class);
But that will not give you the exception thrown.
On 1/24/07, Apaar Trivedi [EMAIL PROTECTED] wrote:
Hi all, I am trying to make a custom exception page
-user] Custom exception page
Override WebApplication#getDefaultRequestCycleFactory and provide the
factory to create your custom request cycle. For instance:
public class MyApplication extends WebApplication implements
IRequestCycleFactory {
protected IRequestCycleFactory
-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Custom exception page
You should extend WebRequestCycle rather than RequestCycle.
Eelco
On 1/24/07, Apaar Trivedi [EMAIL PROTECTED] wrote:
Thank you, I am working on this and making some progress. I am having
trouble implementing the methods
:[EMAIL PROTECTED] On Behalf Of Eelco
Hillenius
Sent: Wednesday, January 24, 2007 11:06 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Custom exception page
You should extend WebRequestCycle rather than RequestCycle.
Eelco
On 1/24/07, Apaar Trivedi [EMAIL PROTECTED] wrote