My Objective is to use h:messages to convey user - error and confirmation messages. The CSS styles to show these two different messages are different, In fact I
We can have different types of h:messages for different severity levels. For example you might want to display all the error messages in a red box and rest with different styles like yellow for warn and green for info. You can also wrap around with different panels. You can do so by having different h:messages and apply the styles individually.