On 12/14/05, Bruno Aranda <[EMAIL PROTECTED]> wrote:
> You can add the issue to the wiki, which you can modify at your will
> to add important information for the myfaces community [1].
> I guess that eventually some of the FAQs will be added to the FAQ in
> the myfaces site as well...
>
> Regards,
>
> Bruno
>
> [1] http://wiki.apache.org/myfaces/FAQ
>
> 2005/12/14, Daniel Zwink <[EMAIL PROTECTED]>:
> > Hi,
> >
> > > I have implemented a very simple phaseListener as follows. It seems to
> > > be working, but the output is very puzzling. It seems to indicate all
> > > phases are being executed twice, or that the phase listener is being
> > > invoked twice on each phase. Can someone explain this?
> >
> > I think this is an FAQ. Who is administrating the FAQ on 
> > myfaces.apache.org? I offer to write the item ;-).
> >
> >
> > Daniel
> > --
> > Orientation in Objects GmbH
> > Weinheimerstr. 68
> > D-68309 Mannheim
> > http://www.oio.de
> > Tel +49(0)621-71839-0
> > Fax. +49(0)621-71839-50
> >
>

Try this in afterPhase:

event.getFacesContext().getExternalContext().getRequestMap().remove(
                                event.getPhaseId());

That helped me with the phaseListener invoked twice problem.

Reply via email to