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

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -