Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-1685

Enabled exception handling like in Facelets for the rest of the MyFaces LifeCycle

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.6-SNAPSHOT
    • 1.2.2
    • JSR-127, JSR-252
    • None

    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

          Activity

            People

              mmarinschek Martin Marinschek
              mmarinschek Martin Marinschek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: