Overview | Library | Tag | Help
| FRAMES NO FRAMES

## ICEfaces-EE ACE Components
Tag contextMenu

ContextMenu provides a popup menu that is displayed on mouse right-click event.

For more information, see the ContextMenu Wiki Documentation.

Tag Information
Tag Class | org.icefaces.ace.component.contextmenu.ContextMenuTag
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
binding | no | true | `javax.el.ValueExpression` | Using an EL expression, bind the component reference to a bean property, so that the component may be accessed in the bean.
direction | no | true | `java.lang.String` | Forces the direction in which the context menu will be displayed, regardless of the position of the mouse pointer in the viewport. Possible values are combinations of "up" and "down" with "left" and "right", separated by a space, and "auto" can also be used in place of any of those values (e.g. "up", "up right", "left", "left auto"). Default = 'auto'.
effect | no | true | `java.lang.String` | Sets the effect for the menu display. Possible values are 'blind', 'clip', 'drop', 'explode, 'fade', 'fold', 'puff', 'slide', 'scale', 'bounce', 'highlight', 'pulsate', and 'shake' (This feature is not supported in IE7 and IE8, see wiki page for more information). Default = 'fade'.
effectDuration | no | true | `int` | Sets the effect duration in milliseconds. Default = '400'.
fetch | no | true | `javax.el.ValueExpression` | When using "forDelegate", an EL expression can be specified as the value of this attribute. Such expression will be evaluated at the same point (e.g. row) where the component that triggered the tooltip is located, allowing to retrieve row data in a table or iterative container. The result is saved in the bean property specified by the "store" attribute.
for | no | true | `java.lang.String` | Server side id of the component to attach to. Multiple component ids can be specified separated by commas.
forDelegate | no | true | `java.lang.String` | Server side id of the ace:delegate component to attach to.
forceMenuUpdate | no | true | `java.lang.Boolean` | Set to true when the entire menu needs to be updated in the client, such as when an individual menu item changes label or styling, and the entire menu needs to be reinitialized in the client in order to get all the styling and behaviour re-applied to the new HTML nodes. The value of this attribute will be automatically set to false by the component after consuming it (if applicable). Default = 'false'.
id | no | 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.
model | no | true | `org.icefaces.ace.model.MenuModel` | MenuModel instance to create menus programmatically. For the menuitem and submenu components, use explicit ids, and avoid long processing in the getter method for this property, as it will be called multiple times, in every lifecycle. If using MyFaces, see wiki page for some known issues.
rendered | no | true | `boolean` | Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle. Default = 'true'.
store | no | true | `java.lang.Object` | The result of evaluating the expression specified in "fetch" is stored in the bean property specified in this attribute.
style | no | true | `java.lang.String` | Style of the main container element.
styleClass | no | true | `java.lang.String` | Style class of the main container element.
widgetVar | no | true | `java.lang.String` | Javascript variable name of the wrapped widget.
zindex | no | true | `int` | zindex property to control overlapping with other elements. Default = '1'.

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.