You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org> on 2009/12/29 15:12:29 UTC

[jira] Issue Comment Edited: (MYFACES-2454) Adapt default error page generation to new spec

    [ https://issues.apache.org/jira/browse/MYFACES-2454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794965#action_12794965 ] 

Jakob Korherr edited comment on MYFACES-2454 at 12/29/09 2:12 PM:
------------------------------------------------------------------

OK, I'll provide a patch which handles org.apache.myfaces.ERROR_HANDLING. It may simplify the development of a jsf application.

I will change it to this behaviour: If org.apache.myfaces.ERROR_HANDLING is false, a custom ExceptionHandler will be automatically installed, which rethrows every exception. Furthermore no error page will be created.

      was (Author: jakobkorherr):
    OK, I'll provide a patch which handles org.apache.myfaces.ERROR_HANDLING. It may simplify the development of a jsf application.

I will change it to this behaviour: If org.apache.myfaces.ERROR_HANDLING is true, a custom ExceptionHandler will be automatically installed, which rethrows every exception. Furthermore no error page will be created.
  
> Adapt default error page generation to new spec
> -----------------------------------------------
>
>                 Key: MYFACES-2454
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2454
>             Project: MyFaces Core
>          Issue Type: Task
>          Components: JSR-314
>    Affects Versions: 2.0.0-alpha-2
>            Reporter: Jakob Korherr
>         Attachments: myfaces-2454.patch
>
>
> see spec section »6.2.3 Default Error Page« for details.
> This includes the following tasks:
> - <ui:include src="javax.faces.error.xhtml" /> should include the standard error page (created by _ErrorPageWriter in MyFaces) in any facelet error page defined in web.xml
> - <error-page> entries in web.xml should take priority over MyFaces' default error page (currently you have to disable it via org.apache.myfaces.ERROR_HANDLING first)
> - UIInput should create an UpdateModelException and publish it, if an exception occurs in updateModel()
> - The error page should also include the view and the flash scope attributes

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