| |||||||
FRAMES NO FRAMES |
'button'
and 'link'
tags. These are rendered by ToolbarRenderer, so the result has no difference. To add an drop down menu to a button add a facet 'dropDownMenu'
containing a <tc:menu>
tag to the button. Label's and Image's on those menu tag's are ignored and replaced by the renderer. <tc:button onclick="alert('test 0')" label="Alert 0" > <f:facet name="dropDownMenu"> <tc:menu> <tc:menuCommand onclick="alert('test 1')" label="Alert 1"/> <tc:menuCommand onclick="alert('test 2')" label="Alert 2"/> <tc:menuCommand onclick="alert('test 3')" label="Alert 3"/> </tc:menu> </f:facet> </tc:button>
UIComponentClass: org.apache.myfaces.tobago.component.UIToolBar
RendererType: ToolBar
Tag Information | |
Tag Class | org.apache.myfaces.tobago.internal.taglib.ToolBarTag |
TagExtraInfo Class | None |
Body Content | JSP |
Display Name | None |
Attributes | ||||
Name | Required | Request-time | Type | Description |
binding | false | false | javax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent )
| The value binding expression linking this component to a property in a backing bean. Warning: For the tobago extension library tx the binding differs from JSP and Facelets:
Type: javax.faces.component.UIComponent |
iconSize | false | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Size of button images, possible values are: small, big, off. Type: java.lang.String Default: small Allowed Values: [small, big, off] |
id | false | true | java.lang.String | The component identifier for this component. This value must be unique within the closest parent component that is a naming container. Type: java.lang.String |
labelPosition | false | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Position of the button label, possible values are: right, bottom, off. If toolbar is facet of box: bottom is changed to right! Type: java.lang.String Default: bottom Allowed Values: [bottom, right, off] |
markup | false | false | javax.el.ValueExpression
(must evaluate to org.apache.myfaces.tobago.context.Markup )
| Indicate markup of this component. The allowed markups can be defined or overridden in the theme. The value 'none' should not be used any longer. Just leave the attribute empty, or use a NULL pointer. Type: org.apache.myfaces.tobago.context.Markup |
orientation | false | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Orientation of toolbar Type: java.lang.String Default: left Allowed Values: [left, right] |
rendered | false | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. Type: boolean Default: true |
tip | false | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Text value to display as tooltip. Type: java.lang.String |
Variables | No Variables Defined. |
| |||||||
FRAMES NO FRAMES |