I have f:ajax with onevent="checkStatus" with the following implementation:
function checkStatus(event){ if (event.status == "begin") { console.log("ajax begin"); } else if (event.status == "success") { console.log("ajax success"); } }
Definition of f:ajax (simplified):
<f:ajax event='click' onevent='checkStatus` listener="#{mrBean.handler}"/>
The start event does not fire. Any idea?
PS The success event is fired.
Thanks!
source share