I have registered a Phase Listener by declaring it in faces-config.xml. In my PhaseListener, I am interested only in the RENDER_RESPONSE phase.

 

The very first time my application is invoked, the beforePhase() method is called even before the component binding methods are called. I would have expected that all the components would be created, their binding methods would be invoked and *then* would the beforePhase() method for RENDER_RESPONSE be invoked.

 

On subsequent postbacks, invocations of beforePhase() are as expected (that is, component binding is done first, before the beforePhase() is invoked)

 

I would appreciate any insights into this behavior. Thanks,

 

-- venkat

 

 

Reply via email to