Re: INVOKE_APPLICATION PhaseListener with redirect

From: Ed Burns <>
Date: Wed, 19 Oct 2011 12:41:37 -0700

>>>>> On Wed, 19 Oct 2011 11:50:23 -0500, Matt Benson <> said:


MB> These have the effect of allowing afterPhase() to be triggered while
MB> the request is active.


This is the key thing. The rest is implementation details (ha!). But
seriously, are you ok with having a special case that makes the
"afterPhase()" listeners be invoked "early" in the case of a redirect?
More specifically, when ExternalContext.redirect() is called, any
afterPhase() listeners for the current phase must be executed
immediately, before the underlying servlet or portlet redirect methods
are invoked, or, in the case of ajax, any of the special ajax actions
are taken.

Is this ok?


| | office: +1 407 458 0017
| homepage:               |