Re: [Wicket-user] How do I replace ExceptionErrorPage

2006-03-27 Thread Johan Compagner
just try to debug it.We do try to catch those things where an error page also goes wrong again. So that we don't se twice the same error page.johanOn 3/27/06, Frank Silbermann <[EMAIL PROTECTED]> wrote: > try> > getApplicationSettings().setInternalErrorPage();> > Call it in the in

RE: [Wicket-user] How do I replace ExceptionErrorPage

2006-03-27 Thread Frank Silbermann
> try> > getApplicationSettings().setInternalErrorPage();> > Call it in the init method of your application class.   I put this method in my application class.  The page I’m calling seems to work when I request it explicitly; however, when I get an application error Tomcat goes into an infi

Re: [Wicket-user] How do I replace ExceptionErrorPage ?

2006-03-22 Thread Dirk Markert
Ingram,   try      getExceptionSettings().setUnexpectedExceptionDisplay( IExceptionSettings.SHOW_INTERNAL_ERROR_PAGE)   in your init method.   Dirk  2006/3/22, Ingram Chen <[EMAIL PROTECTED]>: I tried, and it works well in deployment mode. thanks a lot.But I think it's weird that it only works

Re: [Wicket-user] How do I replace ExceptionErrorPage ?

2006-03-22 Thread Johan Compagner
in development mode we have our ExceptionPage so that you can easily debug and see the exception trace. and more info of the pages.The internalerror page is for deployment so that that kind of information is not seen to the public. (that is not something you want) You can specify you own nice forma

Re: [Wicket-user] How do I replace ExceptionErrorPage ?

2006-03-22 Thread Ingram Chen
I tried, and it works well in deployment mode. thanks a lot.But I think it's weird that it only works in deployment mode, how do I test this in development mode while developing ?On 3/22/06, Ingram Chen <[EMAIL PROTECTED]> wrote: Yeah.. I already tried IApplicationSettings.setIneternalErrorPage(),

Re: [Wicket-user] How do I replace ExceptionErrorPage ?

2006-03-22 Thread Ingram Chen
Yeah.. I already tried IApplicationSettings.setIneternalErrorPage(), and still get old exception page. Sounds like I need to try deploy mode again.ThanksOn 3/22/06, Johan Compagner <[EMAIL PROTECTED]> wrote: that doesn't really replace our exception page when in development mode.The best thing to

Re: [Wicket-user] How do I replace ExceptionErrorPage ?

2006-03-22 Thread Igor Vaynberg
IApplicationSettings.setPageExpiredErrorPage()-IgorOn 3/22/06, Ayodeji Aladejebi <[EMAIL PROTECTED] > wrote:How about how to use ur own Session Timeout Page     On 3/22/06, Johan Compagner <[EMAIL PROTECTED] > wrote: that doesn't really replace our exception page when in development mode.The best

Re: [Wicket-user] How do I replace ExceptionErrorPage ?

2006-03-22 Thread Ayodeji Aladejebi
How about how to use ur own Session Timeout Page     On 3/22/06, Johan Compagner <[EMAIL PROTECTED]> wrote: that doesn't really replace our exception page when in development mode.The best thing to do is implement/override RequestCycle.onRuntimeException()  johan On 3/22/06, Igor Vaynberg <[EMAIL

Re: [Wicket-user] How do I replace ExceptionErrorPage ?

2006-03-22 Thread Johan Compagner
that doesn't really replace our exception page when in development mode.The best thing to do is implement/override RequestCycle.onRuntimeException()johanOn 3/22/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: take a look at IApplicationSettings.setIneternalErrorPage()-Igor On 3/22/06, Ingram Chen <[E

Re: [Wicket-user] How do I replace ExceptionErrorPage ?

2006-03-22 Thread Dirk Markert
Ingram,   try   getApplicationSettings().setInternalErrorPage();   Call it in the init method of your application class.   Dirk  2006/3/22, Ingram Chen <[EMAIL PROTECTED]>: When runtime exception throw, wicket show ExceptionErrorPage.Can I custom this page ? I don't want end user to see internal st

Re: [Wicket-user] How do I replace ExceptionErrorPage ?

2006-03-22 Thread Igor Vaynberg
take a look at IApplicationSettings.setIneternalErrorPage()-IgorOn 3/22/06, Ingram Chen <[EMAIL PROTECTED] > wrote:When runtime exception throw, wicket show ExceptionErrorPage. Can I custom this page ? I don't want end user to see internal stack trace..-- Ingram ChenJava [EMAIL PROTECTED]Institue o

[Wicket-user] How do I replace ExceptionErrorPage ?

2006-03-22 Thread Ingram Chen
When runtime exception throw, wicket show ExceptionErrorPage.Can I custom this page ? I don't want end user to see internal stack trace..-- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwan blog: http://www.javaworld.com.tw/roller/page/ingramchen