Uploaded image for project: 'MyFaces Portlet Bridge'
  1. MyFaces Portlet Bridge
  2. PORTLETBRIDGE-162

Portlet 2.0 Bridge: Resource as source of iFrame doesn't render in Pluto

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-beta
    • 2.0.0
    • Impl
    • None

    Description

      If the resource target for the above is a Face view, the bridge runs through/executesd the normal Faces lifecycle to render the resource. It dispatches to the view JSP using forward. In the regular case (nonResource) this is actually translated by Pluto into a servlet include simulating the forward. However for a resource its an actual servlet forward. Tomcat closes the response and flushes the markup (from it) at the end of the forward. So unless the response is wrapped/buffered Faces can't write after the forward.

      So the solution is to be sure the response is always wrapped/buffered (similar to the base Faces implementation). Do this for all requests (render and resource) as we don't know how the portlet container we are running on may be working

      Attachments

        Activity

          People

            mike_freedman Michael Freedman
            mike_freedman Michael Freedman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: