Overview | Library | Tag | Help
| FRAMES NO FRAMES

## RichFaces
Tag contextMenu

The

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 "false".
disabledItemClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Assigns one or more space-separated CSS class names to the component disabled item
disabledItemStyle | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style rules to be applied to the component disabled item
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`) | Assigns one or more space-separated CSS class names to the component item
itemStyle | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style rules to be applied to the component item
oncollapse | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client-side script method to be called before the menu is collapsed
onexpand | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client-side script method to be called before the menu is expanded
ongroupactivate | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client-side script method to be called when some context menu group is activated
onitemselect | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client-side script method to be called when some item is selected
onmousemove | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client-side script method to be called when a pointer is moved within the element
onmouseout | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client-side script method to be called when a pointer is moved away from the element
onmouseover | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client-side script method to be called when a pointer is moved onto the element
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`) | Assigns one or more space-separated CSS class names to the component selected item
selectItemStyle | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style rules to be applied to the component selected item
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 rules to be applied to the component
styleClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Assigns one or more CSS class names to the component. 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.