The message box faces component allows other JViews Faces components to display messages to users. The JViews Faces components that provide integration with the message box faces component have a messageBoxId attribute that should be set with the identifier of the message box faces component; they also have a message attribute that contains the actual message that will be communicated to the message box faces component when the given JViews faces component is activated. The activation process is specific to the component. For example, the image button faces component is activated when it is hovered. At this point it communicates its message to the message box faces component.
The dimensions of the area that displays the messages and the styling of the messages themselves can be customized via CSS, namely through itsstyle and styleClass attributes.
| Attributes |
| Name | Required | Request-time | Type | Description |
| binding | false | false | java.lang.String | The value binding expression linking this component to a property in a backing bean. If this attribute is set, the tag does not create the component itself but retrieves it from the bean property. This attribute must be a value binding. |
| height | false | false | java.lang.String | The desired height in pixels of the component. Another way to set the size of the component is to use the style attribute. This value overrides values set with the style attribute. |
| id | false | false | java.lang.String | The ID of this component. |
| style | false | false | java.lang.String | CSS style(s) to be applied when this component is rendered. |
| styleClass | false | false | java.lang.String | Space separated list of CSS style classe(s) to be applied when this element is rendered. |
| width | false | false | java.lang.String | The desired width in pixels of the component. Another way to set the size of the component is to use the style attribute. This value overrides values set with the style attribute. |