|
|||||||
FRAMES NO FRAMES |
The <rich:contextMenu> component is used for creating a hierarchical context menu that are activated on events like onmouseover, onclick etc. The component can be applied to any element on the page.
@author Brian LeathemTag Information | |
Component type | org.richfaces.ContextMenu |
Tag Name | rich:contextMenu |
Renderer Type | org.richfaces.ContextMenuRenderer |
Handler Class | None |
Attributes | ||||
Name | Required | Type | Description | |
attached | false | boolean |
If the value of the 'attached' attribute is true, the component is attached to the component, specified in the 'target' attribute or to the parent component, if 'target' is not defined. Default value is 'true'. | |
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: 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. | |
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. | |
target | false | java.lang.String |
Client identifier of the component or id of the existing DOM element that is a source for a given event. If target is defined, the event is attached on the client. If both attached and target attributes are defined, and attribute attached has value 'false', it is considered to have higher priority. | |
targetSelector | false | java.lang.String |
The jQuery selector used to filter which child DOM elements of the target/parent to which the contextMenu will be attached. | |
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 |
|
|||||||
FRAMES NO FRAMES |