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

Adapt default error page generation to new spec

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-alpha-2
    • 2.0.0-beta
    • JSR-314
    • None

    Description

      see spec section »6.2.3 Default Error Page« for details.

      This includes the following tasks:

      • <ui:include src="javax.faces.error.xhtml" /> should include the standard error page (created by _ErrorPageWriter in MyFaces) in any facelet error page defined in web.xml
      • <error-page> entries in web.xml should take priority over MyFaces' default error page (currently you have to disable it via org.apache.myfaces.ERROR_HANDLING first)
      • UIInput should create an UpdateModelException and publish it, if an exception occurs in updateModel()
      • The error page should also include the view and the flash scope attributes

      Attachments

        1. myfaces-2454.patch
          126 kB
          Jakob Korherr
        2. myfaces-2454-error-handling.patch
          8 kB
          Jakob Korherr
        3. myfaces-2454-error-handling-ErrorPageWriter.patch
          4 kB
          Jakob Korherr

        Issue Links

          Activity

            People

              lu4242 Leonardo Uribe
              jakobkorherr Jakob Korherr
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: