i read the article on conditionally closing modal panels, it's based on error messages. if there it is one, don't close the modalpanel.
what i want is....separate category of messages.
if error, then don't close the panel
else close and show info message on global message
how can i separate these messages?
facesContext.maximumSeverity could be used. it returns null if no messages otherwise it returns maximum level among all the messages in context.