Ingram,
try
getExceptionSettings().setUnexpectedExceptionDisplay(
IExceptionSettings.SHOW_INTERNAL_ERROR_PAGE)
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 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(), and still get
old exception page. Sounds like I need to try deploy mode again.
Thanks
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 PROTECTED] > wrote:take a look at IApplicationSettings.setIneternalErrorPage()
-Igor
On 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 Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen
--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen
--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen