rich
Tag dropDownMenu


The <rich:dropDownMenu> component is used for creating a drop-down, hierarchical menu. It can be used with the <rich:toolbar> component to create menus in an application's toolbar.


Tag Information
Component type org.richfaces.DropDownMenu
Tag Name rich:dropDownMenu
Renderer Type org.richfaces.DropDownMenuRenderer
Handler Class None

Attributes
Name Required Type Description
binding false javax.faces.component.UIComponent The value binding expression used to wire up this component to a component property of a JavaBean class
dir false java.lang.String Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left).
direction false org.richfaces.component.Positioning

Set the direction of the popup. Possible values are:
AA (auto), LT (topLeft), RT (topRight), LB (bottomLeft), RB (bottomRight, LA (autoLeft), RA (autoRight), AT (topAuto), AB (bottomAuto)

Default value is auto

disabled false boolean Disables the menu component, so it will not activate/expand
hideDelay false int

Delay (in ms) between losing focus and menu closing

Default value is "300"

horizontalOffset false int

Sets the horizontal offset between popup element and the conjunction point

Default value is 0

id false java.lang.String The component identifier for this component. This value must be unique within the closest parent component that is a naming container.
jointPoint false org.richfaces.component.Positioning

Set the corner attachment point with which the popup should be connected. Possible values are:
AA (auto), LT (topLeft), RT (topRight), LB (bottomLeft), RB (bottomRight, LA (autoLeft), RA (autoRight), AT (topAuto), AB (bottomAuto)

Default value is auto

label false java.lang.String The text label for the menu item. Alternatively, use the label facet to define content for the label
lang false java.lang.String Code describing the language used in the generated markup for this component.
mode false org.richfaces.component.Mode

Sets the submission mode for all menu items of the menu except those where this attribute redefined. Possible value are 'ajax','client' and 'server'

Default value is 'server'

onclick false java.lang.String Javascript code executed when a pointer button is clicked over this element.
ondblclick false java.lang.String Javascript code executed when a pointer button is double clicked over this element.
ongrouphide false java.lang.String The client-side script method to be called when a child menuGroup is hidden
ongroupshow false java.lang.String The client-side script method to be called when a child menuGroup is expanded
onhide false java.lang.String The client-side script method to be called when this menu component is hidden
onitemclick false java.lang.String The client-side script method to be called when a menu item is clicked
onkeydown false java.lang.String Javascript code executed when a key is pressed down over this element.
onkeypress false java.lang.String Javascript code executed when a key is pressed and released over this element.
onkeyup false java.lang.String Javascript code executed when a key is released over this element.
onmousedown false java.lang.String Javascript code executed when a pointer button is pressed down over this element.
onmousemove false java.lang.String Javascript code executed when a pointer button is moved within this element.
onmouseout false java.lang.String Javascript code executed when a pointer button is moved away from this element.
onmouseover false java.lang.String Javascript code executed when a pointer button is moved onto this element.
onmouseup false java.lang.String Javascript code executed when a pointer button is released over this element.
onshow false java.lang.String The client-side script method to be called when this menu component is shown
popupWidth false int Sets minimum width for all lists that will appear.
rendered false boolean Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The default value for this property is true.
showDelay false int

Delay (in ms) between observing the showEvent and menu opening

Default value is "50"

showEvent false java.lang.String

Defines an event on the parent element to display the menu

Default value is 'oncontextmenu'

style false java.lang.String CSS style(s) to be applied when this component is rendered.
styleClass false java.lang.String Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
title false java.lang.String Advisory title information about markup elements generated for this component.
verticalOffset false int

Sets the vertical offset between popup element and the conjunction point

Default value is 0



Output Generated by Tag Library Documentation Generator.