Mario Ivankovits schrieb:
Hi!
Weblets for instance allows a zeroconf resource loading
via phase listeners which trigger, usually this triggering
is done before phase1, but there are portlet cases where
it happens later.
What are the JSF phases executed by weblets then? Probably we find a
pattern which allows us to decide if it was a resource serving.

Hi Mario
Weblets usually triggers before the Restore View Phase for non portlet cases and otherwise before the apply request values phase for portlets.
There also is a trigger for before render Response to trigger as early
as possible for other cases which even suppress those phases.

(This seems a little bit unecessry to me probably the last one checking the before render response is needed only I have to recheck that)
It simply means trigger asap before even doing any jsf related word.

What you probably could do is to ignore requests in your garbage collection of the page context, which trigger the lifecycle but do not go through the phase properly, aka terminate early, that way you probably could cover at least 95% of all use cases.

Werner

Reply via email to