[
https://issues.apache.org/jira/browse/MYFACES-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515964
]
Guido Dubois commented on MYFACES-1685:
---------------------------------------
Hi,
I want to disable the behaviour completely to use the behaviour before. For
this I have inserted the lines below in my web.xml file. But I still get the
facelets like exception handling. I think, I have made a mistake. What's wrong?
<!-- Enabled exception handling like in Facelets for the rest of the MyFaces
LifeCycle
:: since MyFaces snapshot 1.1.6 from 25.07.2007 -->
<!-- if you want to disable the behaviour completely -->
<context-param>
<param-name>ERROR_HANDLING_PARAMETER</param-name>
<param-value>org.apache.myfaces.ERROR_HANDLING</param-value>
</context-param>
<!-- if you want to choose a different class for handling the exception -->
<!--context-param>
<param-name>ERROR_HANDLER_PARAMETER</param-name>
<param-value>org.apache.myfaces.ERROR_HANDLER</param-value>
</context-param-->
What's about logging? My app logs in a file and on console. The errors with
this behaviour will not be logged, neither in file nor on console. Facelets
uses java.util.logging. How looks it with the implementation here? Will be used
java.util.logging?
Reguards, Guido
> Enabled exception handling like in Facelets for the rest of the MyFaces
> LifeCycle
> ---------------------------------------------------------------------------------
>
> Key: MYFACES-1685
> URL: https://issues.apache.org/jira/browse/MYFACES-1685
> Project: MyFaces Core
> Issue Type: New Feature
> Components: JSR-127, JSR-252
> Affects Versions: 1.1.6-SNAPSHOT
> Reporter: Martin Marinschek
> Assignee: Martin Marinschek
> Fix For: 1.1.6-SNAPSHOT
>
>
> By express permission of Jacob Hookom for dual licensing one class out of
> Facelets as ASL, I've added the Facelets-Error-Handling code to the rest of
> the MyFaces LifeCycle. Jacob has an ICLA on file, so paperwork has been done
> before.
> To tweak this behaviour, two new context-parameters have been added (add them
> to your web.xml if you need to use this tweaking):
> private static final String ERROR_HANDLING_PARAMETER =
> "org.apache.myfaces.ERROR_HANDLING" - if you want to disable the behaviour
> completely
> private static final String ERROR_HANDLER_PARAMETER =
> "org.apache.myfaces.ERROR_HANDLER" - if you want to choose a different class
> for handling the exception
> Enjoy!
> regards,
> Martin
> =================
> see our mail-discussion attached as a reference
> not a problem-- i think it'd be a cool solution for JSF 1.2 is to grab the
> ELResolver and walk through the Features-- so even custom ELResolvers would
> be able to output custom variables....
> -- Jacob
> On 7/23/07, Martin Marinschek <[EMAIL PROTECTED]> wrote:
> Hi Jacob,
> is it ok if I use your error-handling page also for errors in the full
> life-cycle of MyFaces? I just love this page, and I would want to see it for
> other exceptions than render-exceptions as well...
> I'd surely add you as an author - we'd definitely need to put the
> ASL-license on top, though.
> regards,
> Martin
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.