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?
相关问题
- java.lang.NullPointerException at java.io.PrintWri
- h:selectOneMenu in p:dataTable doesn't submit
- I want to trace logs using a Macro multi parameter
- Error message 'No handlers could be found for
- Infinite setStatus() loop when requesting a JSF pa
相关文章
- how do I log requests and responses for debugging
- Android Studio doesn't display logs by package
- Stacktrace does not print in Glassfish 4.1 Cluster
- Out of curiosity — why don't logging APIs impl
- How to allow numbers only using f:validateRegex
- Laravel log file based on date
- Java -How to get logger to work in shutdown hook?
- JSF 2.0: ajax request when press ENTER
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 anUICommand
compnonent is resolveable byUIViewRoot#findComponent()
based on this information and then handle accordingly.Kickoff example: