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

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

xslt - Umbraco and EXSLT sets do not work -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -