java - JSF Handle served-side exception in browser with A4J -
can a4j handle situation in ajax call server ends exception? handle mean can instance present user dialog box stating exception has occured? default behaviour of a4j in presence of server side exception nothing misleading.
yes.
you can a4j:
add javascript on page:
a4j.ajax.onerror = function(req, status, message){ window.alert("custom onerror handler "+message); }
Comments
Post a Comment