Overview | Library | Tag | Help
| FRAMES NO FRAMES

## RichFaces ( Legacy URL )
Tag contextMenu

The <rich:contextMenu> component is used for creating multileveled context menus that are activated after a user defines an event ( "onmouseover" , "onclick" , etc.) on any element on the page.

Tag Information
Tag Class | org.richfaces.taglib.ContextMenuTag
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
attachTiming | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Defines the timing when the menu is attached to the target element. Possible values "onload", "immediate", "onavailable" (default). Default value is "onavailable".
attachTo | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Client identifier of the component or id of the existing DOM element that is a source for a given event. If attachTo is defined, the event is attached on the client according to the AttachTiming attribute. If both attached and attachTo attributes are defined, and attribute attached has value 'false', it is considered to have higher priority.
attached | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If the value of the "attached" attribute is true, the component is attached to the component, specified in the "attachTo" attribute or to the parent component, if "attachTo" is not defined. Default value is "true".
binding | false | false | `javax.el.ValueExpression` (must evaluate to `javax.faces.component.UIComponent`) | The attribute takes a value-binding expression for a component property of a backing bean
disableDefaultMenu | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | Forbids default handling for adjusted event. Default value "true".
disabledItemClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Space-separated list of CSS style class(es) that are be applied to disabled item of this component
disabledItemStyle | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style(s) is/are to be applied to disabled item when this component is rendered.
event | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Defines an event on the parent element to display the menu. Default value is "oncontextmenu".
hideDelay | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Integer`) | Delay between losing focus and menu closing. Default value is "800".
id | false | false | `java.lang.String` | Every component may have a unique id that is automatically created if omitted
itemClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Space-separated list of CSS style class(es) that are be applied to item of this component
itemStyle | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style(s) is/are to be applied to item when this component is rendered.
oncollapse | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Event must occurs on menu closure
onexpand | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Event must occurs on menu opening
ongroupactivate | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression; some group was activated
onitemselect | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression; some item was selected
onmousemove | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression; a pointer was moved within
onmouseout | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression; a pointer was moved away
onmouseover | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression; a pointer was moved onto
popupWidth | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Set minimal width for the all of the lists that will appear
rendered | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If "false", this component is not rendered
selectItemClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Space-separated list of CSS style class(es) that are be applied to selected item of this component.
selectItemStyle | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style(s) is/are to be applied to selected item when this component is rendered.
showDelay | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Integer`) | Delay between event and menu showing. Default value is "50".
style | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style(s) is/are to be applied when this component is rendered
styleClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Corresponds to the HTML class attribute
submitMode | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Sets the submission mode for all menu items of the menu except those where this attribute redefined. Possible value are "ajax","server", "none". Default value is "server".

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

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.