Re: [Wicket-user] Custom exception page

2007-01-24 Thread Marc-Andre Houle
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

Re: [Wicket-user] Custom exception page

2007-01-24 Thread Apaar Trivedi
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

Re: [Wicket-user] Custom exception page

2007-01-24 Thread Apaar Trivedi
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

Re: [Wicket-user] Custom exception page

2007-01-24 Thread Eelco Hillenius
-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

Re: [Wicket-user] Custom exception page

2007-01-24 Thread Eelco Hillenius
-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

Re: [Wicket-user] Custom exception page

2007-01-24 Thread Apaar Trivedi
-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

Re: [Wicket-user] Custom exception page

2007-01-24 Thread Eelco Hillenius
:[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