Create new RichFaces Documentation Jira issue

This will launch the RichFaces Jira page - to complete your feedback please login if needed, and submit the Jira.

JBoss.orgCommunity Documentation

6.14.8.  <rich:messages> available since 3.1.0

expand all
6.14.8.1. Description
6.14.8.2. Key Features
6.14.8.3. Details of Usage
6.14.8.4. Reference Data
6.14.8.5. Relevant Resources Links

The <rich:messages> component is similar to <rich:message> component but used for rendering all messages for the components.


The component has the same behavior as standard <h:message> component. Besides some extra features:

The following example shows different variants of customization of the component.


<rich:messages layout="table" tooltip="true" showDetail="false" showSummary="true">
      <f:facet name="errorMarker">
            <h:graphicImage url="/image/error.png"/>
      </f:facet>
      <f:facet name="infoMarker">
            <h:graphicImage url="/image/info.png"/>
      </f:facet>
 </rich:messages>

The <rich:messages> component keeps all messages for all components even after only one Ajax-validated component was updated.

Table of <rich:messages> attributes.




You can find all necessary information about style classes redefinition in
Definition of Custom Style Classes section.

Visit the Messages page at RichFaces LiveDemo for examples of component usage and their sources.