You are viewing an old version (v. 3) of this page.
The latest version is v. 23, last edited on Dec 11, 2014
(view differences
|
)
<< View previous version | view page history | view next version >>
<< View previous version | view page history | view next version >>
Overview
MenuItem is used by various menu components to specify the menu items.
Usage
<ace:contextMenu ...> <ace:menuItem value="Copy" icon="ui-icon ui-icon-disk" action="#{contextMenuComponent.performAction}"> <f:param name="actionType" value="Text Copy" /> </ace:menuItem> <ace:menuItem value="Translate" icon="ui-icon ui-icon-arrowrefresh-1-w" action="#{contextMenuComponent.performAction}"> <f:param name="actionType" value="Text Translation" /> </ace:menuItem> </ace:contextMenu>
Component Attributes
TagLib Documentation This section covers attributes involved in the typical use-cases for this component. For reference, the complete taglib documentation for this component is available here. |
for: id of the component context menu is for.
effect sets the effect for the menu display. Supports standard jQuery animations like "slide" and "fade".
effectDuration sets the effect duration in milliseconds.
<ace:ajax/> support
None.
JavaScript APIs / Client Behaviours
The client side context menu object is exposed through the global variable name specified in the *widgetVar* attribute, but currently there is no API useful to the user.