There are some folks who would say to have the bean register itself as a 
PhaseListener in the constructor.  In such a case, you could use 
PhaseEvent.getPhaseId() .

Dennis Byrne


>-----Original Message-----
>From: Mike Duffy [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, January 18, 2006 01:04 PM
>To: [email protected]
>Subject: PhaseListener
>
>Is it possible to implement a PhaseListener on a backing bean?  I tried to do 
>this but could not
>get it to work.
>
>I'd like to be able to trace the phases as a page loads.  Is there some 
>standard way to know what
>phase of the component life cycle has been activated?
>
>Thx.
>
>Mike
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around 
>http://mail.yahoo.com 
>


Reply via email to