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.10.10.  < rich:separator > available since 3.0.0

expand all
6.10.10.1. Description
6.10.10.2. Key Features
6.10.10.3. Details of Usage
6.10.10.4. Reference Data
6.10.10.5. Relevant Resources Links

A horizontal line to use as a separator in a layout. The line type can be customized with the "lineType" parameter.


<rich:separator> is a simple layout component, which represents a separator stylized as a skin. Thus, the main attributes that define its style are "style" and "styleClass". In addition there are "width" and "height" attributes that should be specified in pixels. On the HTML page the component is transposed into HTML <div> tag.

The line type can be customized with the "lineType" parameter. For example, different line types are shown after rendering with the following initial settings lineType="double"and lineType="solid".


Except style attributes, there are also event definition attributes:

  • "onmouseover"

  • "onclick"

  • "onmouseout"

  • etc.

Table of <rich:separator> attributes.



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

On the component LiveDemo page you can see the example of <rich:separator> usage and sources for the given example.