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? 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) requests. Just loop through the request parameters and check if an UICommand compnonent is resolveable by