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

Request attributes lost when using MyFaces in Portlet

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.1.0
    • None
    • None
    • None

    Description

      Request attributes set in Phases prior to the rendering phase are no longer available in the rendering phase. This behaviour is easily explainable from a portlet writer's point of view (he knows about the distinction between the ActionRequest and the RenderRequest). From the JSF implementor's point of view (who knows only about a single request) this behaviour leads – during the rendering phase – to the unexplicable unavailability of all request attributes set prior to the rendering phase.

      Looking through the JSF spec, I found no indication that request scope attributes may be lost during the processing of a (from the JSF user's point of view) single request. So I thing the portlet JSF bridge should ensure the "carrying over" of request attributes between the action and the render request.

      Attachments

        1. ServletFacesContextImpl.java
          11 kB
          Cyril JOUI

        Activity

          People

            mmarinschek Martin Marinschek
            drmlipp Michael Lipp
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: