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 <[EMAIL PROTECTED]> 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

