Bill Schneider writes about software and other stuff. Opinions are my own.
Tuesday, November 08, 2011
Primefaces p:ajax and jQuery AJAX events
All of Primefaces' JSF components use the jQuery AJAX engine, which means you can catch global AJAX events with $(document).ajaxStart and $(document).ajaxStop.
Standard JSF components like h:selectOneMenu will also go through jQuery when using a p:ajax facet (vs. standard f:ajax).
Conversely, jsf.ajax.onEvent does not appear to work with Primefaces components as it does for f:ajax.
No comments:
Post a Comment