Messages have the following properties:
type
– can beerror
,confirmation
,warning
orinformation
summary
– contains the message titledetails
– contains an array of exception or other messages
When one or more exceptions occur during either form handler exceptions or an unhandled servlet exception, a single message is created with type = "error"
. Each exception is added as a detail within the message. Exceptions that occur during a request are grouped inside a single container message. When no exceptions occur during the request, and a success summary is specified via the request parameters, the messaging UI creates a confirmation message.