PhotoAlbum Application Download Support Developer Guide
Skins:
Resources/Beans Handling
Ajax Miscellaneous
Usage
Tag Information

rich:message is an extension for a standard h:message component. In addition to what the standard component provides, rich:message:

  • does not require to be wrapped with a4j:outputPanel in order to be rendered during the Ajax requests
  • allows to define different "failed" markers before the text labels
  • has a predefined css class names for different kinds of message severities

The message marker is defined with a facet. There are several facets names available to design the marker for different kind of message severities. The following example shows how the markers might be used to mark the "passed" and "failed" form fields. Fill the form and click "Validate" button to see the entered data passing the defined validation rules.

Form validation using rich:message example
Validation Form
Name:
Job:
Address:
Zip:


View Source
RichFaces Wiki RichFaces Project Site