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

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -