You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Adam Winer <aw...@gmail.com> on 2007/05/10 19:12:50 UTC

Re: [Trinidad] missing close() call in HtmlResponseWriter.close

Ah, thanks!  Not sure why the code's been written that way.
I've just fixed it on trunk.

-- Adam


On 5/10/07, Renzo Tomaselli <re...@tecnotp.it> wrote:
>
>  Hi, while investigating about a modal panel failure in using RichFaces, I
> noticed that Ajax4jsf failed to render a cached css. The final effect is an
> apparently random failure in showing the modal panel, depending on browser
> caching of involved css.
>  This is turn was due to a missing close() call in class
> org.apache.myfaces.trinidadinternal.io.HtmlResponseWriter:
> its close() method simply flushes, without closing the associated stream.
> This close is needed (class CacheContent of Ajax4jsf) to mark cached obj
> contents presence. Without this mark, no contents will be returned to the
> browser.
>  Adding _out.close() at line # 98 fixes this issue.
>
>  -- Renzo
>
>