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.7.  <rich:message> available since 3.1.0

expand all Description Key Features Details of Usage Reference Data Relevant Resources Links

The component is used for rendering a single message for a specific component.

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

The <rich:message> appears on page after form is submitted. Even for "passed" state. The "passedLabel" attribute is used for definition of the label when validation is passed. Boolean attribute "showSummary" defines possibility to display summary portion of displayed messages.

<rich:message for="id" passedLabel="No errors" showSummary="true">
      <f:facet name="errorMarker">
            <h:graphicImage url="/image/error.png"/>
      <f:facet name="passedMarker">
            <h:graphicImage url="/image/passed.png"/>

Table of <rich:message> attributes.

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

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