JSF 1.2 Message Component

See Also | Tutorials

The Message component inline message icon provides a way to display error messages related to a single component.

The two message components, Message and Message Group, display error messages for component rendering and validation. The Message component displays error messages for a specific component.

You can write your own input validation methods, which can write text to the Message component by throwing ValidatorException(new FacesMessage (String)). To send your own validation message to a component, throw one of the following exceptions:

With the JavaServer Faces 1.2 set of components, you can override the standard error messages by calling the component's setRequiredMessage, setConverterMessage, and setValidatorMessage methods to specify custom messages.
See Also
Message Component Properties Window
Binding Component Properties
Working With Components
Component Tasks: Quick Reference
About the Visual Web Palette
Tutorials

Legal Notices