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

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

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


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.


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

Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Bille Jensen updated WICKET-1357:
---------------------------------------

    Fix Version/s:     (was: 1.4-M1)

> 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
>            Assignee: Johan Compagner
>   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.


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-1357.
-----------------------------------

    Resolution: Invalid
      Assignee: Johan Compagner

was there any reason to keep this open?

> 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
>            Assignee: Johan Compagner
>             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.