On 7/14/05, Martin Marinschek <[EMAIL PROTECTED]> wrote:
> I think they do execute in a particular order, i.e. the order the
> faces-config files are loaded.

They are called in a particular order for a particular implemention, for sure.
Is it specified in the spec, though? (Pure ignorance -- maybe it is).
Is the order the faces-config files are loaded from jar files known?

> With that the dataTable phaselistener would of course be situated
> ahead of your phaseListener.
>
> No if the AJAX phase listener makes it into the framework, it will be
> the first one to be called - which should be quite reasonable.

If it's the first one called, does this mean it'd potentially access
application data outside of a phase? (before the application's before
phase listener is executed, and likewise for after)

It's too bad the JSF spec doesn't provide some way to insure that
application-level phase listeners are triggered, then "framework"
component phase listeners.   I do understand the difficulties between
distinguishing between them, though.

Maybe just insuring that any faces-config listeners in
WEB-INF/faces-config.xml (or otherwise specified in web.xml) were
executed before faces-config.xml files in jars would be helpful.
Probably useless conjecturing, though.

Reply via email to