Logging the invoked managed bean action in a PhaseListener
问题 I am using Sun JSF 2.0 and wrote a phase listener extending javax.faces.event.PhaseListener . I am able to log source URI, target URI, total time and so on. But so far unable to log the ManagedBean and corresponding method that would be invoked during that client event. How can I do this? 回答1: Input components send their client ID as request parameter name in case of synchronous requests and as request parameter value of javax.faces.source request parameter in case of asynchronous (ajax)