You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Johan Compagner (JIRA)" <ji...@apache.org> on 2008/02/18 23:28:34 UTC

[jira] Commented: (WICKET-1357) Ability to set the ExceptionErrorPage in ApplicationSettings

    [ https://issues.apache.org/jira/browse/WICKET-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570025#action_12570025 ] 

Johan Compagner commented on WICKET-1357:
-----------------------------------------

we already have that: thats called internal error page

The exception error page is a debug/develop page. Thats not something you should enable at runtime

Also just override/implement RequestCycle:
	public Page onRuntimeException(Page page, RuntimeException e)
	{
		return null;
	}

And you can do what ever you want.

> Ability to set the ExceptionErrorPage in ApplicationSettings
> ------------------------------------------------------------
>
>                 Key: WICKET-1357
>                 URL: https://issues.apache.org/jira/browse/WICKET-1357
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.1
>            Reporter: Doug Leeper
>             Fix For: 1.4-M1
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Would like to have the ability to set the ExceptionErrorPage.  This would be similar to setting the PageExpiredErrorPage. (IApplicationSettings.setPageExpiredErrorPage())
> This would allow allow an unhandled RuntimeException to be handled properly by the application in a fashion appropriate for their support teams (i.e. auto email sent out) and displayed in a similar fashion as the rest of the site.
> Leave the default ExceptionErrorPage as the default but allow the user to set as needed.
> Would need to change org.apache.wicket.request.AbstractRequestCycleProcessor.respond(RuntimeException e, RequestCycle requestCycle)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.