Using JSF 2.0 / Facelets, is there a way to attach a global listener to all AJAX calls?
Is there a way to attach a global listener to all AJAX calls in JSF? Maybe through a phase listener or something? Yes, a PhaseListener can do it. A SystemEventListener also. A Filter also. If you’re inside JSF context, then you can check as follows whether the current request is an ajax request or not. … Read more