RichFaces
Tag toolBar


A horizontal bar with items on it. If you want to use it as a standard top tool bar, point to each item with a ch:menu "for" attribute to link the appropriate drop-down menu with the item id on a tool bar. "toolBar" accepts any JSF components as children. They appear from left to right in the definition order. The children are separated from each other basing on the value of the "itemSeparator" attribute. If you want to put the items along the right side for a menu bar, you can use the "toolBarGroup" component as a wrapper and define the "location" attribute there. The items inside the group can have their own separator. See the "toolBarGroup" component description for details.


Tag Information
Tag Classorg.richfaces.taglib.ToolBarTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
The attribute takes a value-binding expression for a component property of a backing bean
contentClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A CSS style is to be applied to each element of tool bar content. Use this style, for example, to setup parameters of the font.
contentStylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A CSS style is to be applied to each element of tool bar content.
heightfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A height of a bar in pixels. If a height is not defined, a bar height depends of the "headerFontSize" skin parameter.
idfalsefalsejava.lang.StringEvery component may have a unique id that is automatically created if omitted
itemSeparatorfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A separator between items on a bar. Possible values are "none", "line", "square", "disc" and "grid". Default value is "none".
onitemclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a pointer button is clicked on an item
onitemdblclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a pointer button is double-clicked on an item
onitemkeydownfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a key is pressed down on an item
onitemkeypressfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a key is pressed and released on an item
onitemkeyupfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a key is released on an item
onitemmousedownfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: script expression; a pointer button is pressed down on an item
onitemmousemovefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a pointer is moved on an item
onitemmouseoutfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a pointer is moved away from an item
onitemmouseoverfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a pointer is moved onto an item
onitemmouseupfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: script expression; a pointer button is released on an item
renderedfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
If "false", this component is not rendered
separatorClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A CSS class to be applied to tool bar separators.
stylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
CSS style(s) is/are to be applied when this component is rendered
styleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Corresponds to the HTML class attribute
widthfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A width of a bar that can be defined in pixels or as percentage. Default value is 100%.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.