dev@javaserverfaces.java.net

Re: JSF 1.2 open spec defects

From: Matthias Wessendorf <matzew_at_apache.org>
Date: Thu, 27 Mar 2008 14:22:46 +0100

...
> The thread in issue 331 shows why that method is missing.
> The workaround is kind of ugly (see my other email).
> The fix is *easy*; just add the method and use it instead of accessing the
> list of PhaseListeners directly. This won't break the TCK etc.

even the direct access can be used, but doing a *custom* UIViewRoot
requires (due to that) a lot of unneeded code...

So... it is just this:
    public List<PhaseListener> getPhaseListeners() {
        return phaseListeners;
    }

Thanks!
Matthias

> But... it would make it much easier to write a custom lifecycle for supporting
> partial submits.
>
> Thanks!
> Matthias
>
> >
> > Thanks, Roger.
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> mail: matzew-at-apache-dot-org
>



-- 
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org