Yeah, this is totally correct. I use the "release" in the configurators
as well. :) Nice thing about this from a bridge perspective is that
the release will happen once during the action and once during the
render. So it should be totally sufficient to clean up threadlocals.
Scott
Martin Marinschek wrote:
If you wrap the FacesContext, then maybe when FacesContext.release is called?
regards,
Martin
On 2/7/08, Mario Ivankovits <[EMAIL PROTECTED]> wrote:
Hi!
The short answer to your question is no, the bridge won't help you
here. Portlet 1.0 didn't define support for filters or wrapping
request/response objects. Hence initialization done in filters in the
servlet environment should be rewritten/migrated to FacesContextFactory.
This document does not talk about when to release the configured
resources again, does it?
Is there something in the spec which talks about when to release a
ThreadLocal again?
Ciao,
Mario