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

Leonardo Uribe commented on MYFACES-1822:
-----------------------------------------

I have tested this issue and this is what's happening:

To disable error handling, we need to do this when using facelets and myfaces:

<context-param>
<param-name>facelets.DEVELOPMENT</param-name>
<param-value>false</param-value>
</context-param>

       <context-param>
             <param-name>org.apache.myfaces.ERROR_HANDLING</param-name>
            <param-value>false</param-value>
       </context-param>

if ERROR_HANDLING is true (by default) this takes precedence over facelets, so 
the result is this:

facelets.DEVELOPMENT org.apache.myfaces.ERROR_HANDLING Result
true false On error redirect to myfaces error handling page
false true On error redirect to myfaces error handling page
true true On error redirect to myfaces error handling page
false false On error redirect to default error handling page

The conclusion is that this is not a bug, rather a configuration issue. So I 
will close this as invalid. 

> facelets.DEVELOPMENT always "true"
> ----------------------------------
>
>                 Key: MYFACES-1822
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1822
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 1.2.2
>         Environment: Facelets 1.1.13 with MyFaces 1.2.2
>            Reporter: Doodle AG
>            Assignee: Leonardo Uribe
>
> Facelets can be used in DEVELOPMENT mode by setting the facelets.DEVELOPMENT 
> parameter to "true" (i.e., 
> <context-param><param-name>facelets.DEVELOPMENT</param-name><param-value>true</param-value></context-param>
>  in web.xml).
> In combination with MyFaces 1.2.0 and earlier, DEVELOPMENT mode can be 
> enabled and disabled as expected.
> In combination with MyFaces 1.2.2, DEVELOPMENT mode is always enabled, 
> independent of the facelets.DEVELOPMENT parameter being "true" or "false".

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

Reply via email to