Details
Description
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 <martin.marinschek@gmail.com> 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
Attachments
Issue Links
- relates to
-
MYFACES-2214 Cannot use custom error handler (param org.apache.myfaces.ERROR_HANDLER) due to bug in FacesServlet
- Closed