| Attributes |
| Name | Required | Binding Type | EL | Default | Description |
| binding | false | javax.faces.component.UIMessages | only | null | A value-binding expression that associates the Messages component with a backing bean property. |
| dir | false | java.lang.String | true | "ltr" | The base direction of directionally neutral text. Available values are: "ltr" — left to right "rtl" — right to left
|
| errorClass | false | java.lang.String | true | null | A CSS class for messages with severity "ERROR". |
| errorStyle | false | java.lang.String | true | null | A CSS style for messages with severity "ERROR". |
| fatalClass | false | java.lang.String | true | null | A CSS class for messages with severity "FATAL". |
| fatalStyle | false | java.lang.String | true | null | A CSS style for messages with severity "FATAL". |
| globalOnly | false | boolean | true | false | A flag that indicates whether or not the Messages component displays only global messages (messages not associated with any client-side identifier). |
| id | false | java.lang.String | false | null | The component identifier. |
| infoClass | false | java.lang.String | true | null | A CSS class for messages with severity "INFO". |
| infoStyle | false | java.lang.String | true | null | A CSS style for messages with severity "INFO". |
| lang | false | java.lang.String | true | null | The base language for Messages. Should be specified as language code. |
| layout | false | java.lang.String | true | "list" | The type of the layout to use when rendering error messages. Available values are: "list" — messages are rendered in an HTML list "table" — messages are rendered in an HTML table
|
| onclick | false | java.lang.String | true | null | JavaScript code that should be executed on the client when the user clicks the left mouse button over the Messages. |
| ondblclick | false | java.lang.String | true | null | JavaScript code that should be executed on the client when the user double-clicks the left mouse button over the Messages. |
| onkeydown | false | java.lang.String | true | null | JavaScript code that should be executed when the user presses a key over the Messages. |
| onkeypress | false | java.lang.String | true | null | Javascript code that should be executed on the client when the user presses and releases a key over the Messages. |
| onkeyup | false | java.lang.String | true | null | JavaScript code that should be executed when the user releases a key over the Messages. |
| onmousedown | false | java.lang.String | true | null | JavaScript code that should be executed when the user clicks over the Messages with either mouse button. |
| onmousemove | false | java.lang.String | true | null | JavaScript code that should be executed when the user moves the mouse pointer over the Messages. |
| onmouseout | false | java.lang.String | true | null | JavaScript code that should be executed when the user moves the mouse pointer away from the Messages. |
| onmouseover | false | java.lang.String | true | null | JavaScript code that should be executed when the user moves the mouse pointer onto the Messages. |
| onmouseup | false | java.lang.String | true | null | JavaScript code that should be executed when the user releases a mouse button over the Messages. |
| rendered | false | boolean | true | true | A flag that indicates whether or not the component is visible. |
| showDetail | false | boolean | true | true | A flag that indicates whether or not the "detail" portion of displayed messages should be included in the error description. |
| showSummary | false | boolean | true | false | A flag that indicates whether or not the "summary" portion of displayed messages should be included in the error description. |
| style | false | java.lang.String | true | null | A style for the Messages component. |
| styleClass | false | java.lang.String | true | null | A CSS class name for the Messages component. |
| title | false | java.lang.String | true | null | Text for the tooltip of the Messages component. |
| tooltip | false | boolean | true | false | A flag that indicates whether or not to render the message summary as a tooltip. |
| warnClass | false | java.lang.String | true | null | A CSS class for messages with severity "WARN". |
| warnStyle | false | java.lang.String | true | null | A CSS style for messages with severity "WARN". |