myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-4012) Documentation wrong about Error handling
Date Thu, 10 Sep 2015 15:46:46 GMT

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

Mike Kienenberger commented on MYFACES-4012:
--------------------------------------------

Matthew,

Are you a current ASF committer?   Or do you have an ICLA on file with the ASF?  If so, I
can give you direct access to edit the  Confluence wiki pages.

See this URL for details on submitting an Individual Contributor License Agreement (ICLA):

http://www.apache.org/dev/new-committers-guide.html#cla

> Documentation wrong about Error handling
> ----------------------------------------
>
>                 Key: MYFACES-4012
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4012
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: website
>            Reporter: Matthew Alexander
>            Priority: Minor
>
> https://cwiki.apache.org/confluence/display/MYFACES/Handling+Server+Errors
> Current version:
> {quote}
> *Provide an error page*
> The default ExceptionHandler in Production stage or when myfaces error handling is disabled
just throw an exception. So you can still setup an error page adding something like this in
your web.xml file:
> {code}<error-page>
>     <error-code>500</error-code>
>     <location>/somepage.jsp</location>
> </error-page>{code}
> {quote}
> Should be:
> {quote}
> *Provide an error page*
> If org.apache.myfaces.ERROR_HANDLING is set to "false", or if it is undefined and the
project stage is "Development", the default ExceptionHandler just throws an exception. So
you can still setup an error page by adding something like this in your web.xml file:
> {code}<error-page>
>     <error-code>500</error-code>
>     <location>/somepage.jsp</location>
> </error-page>{code}
> {quote}
> Changes
> - Corrected the explanation of the behavior of the default ExceptionHandler.
> - Improved the grammar.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message