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

Clean up the viewId calculation algorithm

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-alpha-2
    • 2.3-next-M1
    • JSR-314
    • None

    Description

      The whole viewId calculation process is a big mess. There is DefaultRestoreViewSupport with calculateViewId and deriveViewId and there is DefaultViewHandlerSupport with calculateViewId and calculateAndCheckViewId.

      Furthermore each viewId gets calculated twice (e.g. first from test.jsf to test.xhtml and then from test.xhtml to test.xhtml, which is not necessary).

      Attachments

        1. myfaces-2489.patch
          69 kB
          Jakob Korherr
        2. MYFACES-2489-core.patch
          31 kB
          Leonardo Uribe
        3. MYFACES-2489-shared.patch
          6 kB
          Leonardo Uribe

        Activity

          People

            tandraschko Thomas Andraschko
            jakobkorherr Jakob Korherr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: