[ http://jira.magnolia.info/browse/MAGNOLIA-1902?page=comments#action_15245 
] 
            
Philipp Bracher commented on MAGNOLIA-1902:
-------------------------------------------

I added the flushing in RenderingFilter.

Notes:
- CommitFilter was not added to avoid changes from rc1 to rc2
- CommitFilter would not allow later redirects after a template filled the 
buffer, so for that a different solution/filter must be found
- Tomcat does flush the buffer by default, but I'm not sure if this is part of 
the spec or not

> output buffer is not flushed after JSP include in JSPTemplateRenderer
> ---------------------------------------------------------------------
>
>                 Key: MAGNOLIA-1902
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-1902
>             Project: Magnolia
>          Issue Type: Bug
>          Components: templating
>    Affects Versions: 3.5 RC1
>            Reporter: Sameer Charles
>         Assigned To: Jan Haderka
>            Priority: Blocker
>             Fix For: 3.5 RC2
>
>
> The best possible solution would be to have a filter (lets say CommitFilter) 
> which does response.flushBuffer() and stops the chain.
> - This will allow us dynamically to stop the chain anytime and commit the 
> response, otherwise filter itself has to know that its the last filer.
> As a result you can have incomplete page rendering. 
> - Tested/proven under Liferay container

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to