Hi,
i think you are looking for somthing like a PhaseListener.

You can configure such a Listener in faces.xml.

make your listener to return javax.faces.event.PhaseId.RENDER_RESPONSE
in getPhaseId() method and the beforePhase() method of your listener
is invoked just before rendering.

Saul Qunming Yuan wrote:
> I see. The outputText way is actually what I did. So, is there a way to
> call a method in the backing bean when/before loading a JSF page?
> Something like a pre-render method before loading a JSF page? I can do
> that in the backing bean methods that forward to the JSF page, but there
> are many places that could forward to that JSF page. That's why I trying
> to do it in the JSF page itself.
> 
> thanks

-- 
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by
concatenating my forename to my senders domain.

Reply via email to