JBoss.orgCommunity Documentation
A spacer that is used in layout and rendered as a transparent image.
Easily used as a transparent layout spacer
Horizontal or vertical spacing is managed by an attribute
Easily customizable sizes parameters
<rich:spacer> is a simple layout component which represents a transparent spacer. Thus, the main attributes that define its style are "style" and "styleClass".
In addition, the attributes are responsible for the component size: "width" and "height".
Moreover, to add e.g. some JavaScript effects, events defined on it are used.
"onmouseover "
"onclick "
"onmouseout "
etc.
Table of <rich:spacer> attributes.
Table 6.142. Component Identification Parameters
Name | Value |
---|---|
component-type | org.richfaces.spacer |
component-class | org.richfaces.component.html.HtmlSpacer |
component-family | org.richfaces.spacer |
renderer-type | org.richfaces.SpacerRenderer |
tag-class | org.richfaces.taglib.SpacerTag |
On the component LiveDemo page you can see the example of <rich:spacer> usage and sources for the given example.