myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Freedman (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (PORTLETBRIDGE-162) Portlet 2.0 Bridge: Resource as source of iFrame doesn't render in Pluto
Date Thu, 05 Aug 2010 21:29:21 GMT
Portlet 2.0 Bridge: Resource as source of iFrame doesn't render in Pluto
------------------------------------------------------------------------

                 Key: PORTLETBRIDGE-162
                 URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-162
             Project: MyFaces Portlet Bridge
          Issue Type: Bug
          Components: Impl
    Affects Versions: 2.0.0-beta
            Reporter: Michael Freedman
            Assignee: Michael Freedman


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 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message