RichFaces
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 Classorg.richfaces.taglib.ContextMenuTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
attachTimingfalsefalsejavax.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".
attachTofalsefalsejavax.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.
attachedfalsefalsejavax.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".
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
The attribute takes a value-binding expression for a component property of a backing bean
disableDefaultMenufalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Forbids default handling for adjusted event. Default value "false".
disabledItemClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Assigns one or more space-separated CSS class names to the component disabled item
disabledItemStylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
CSS style rules to be applied to the component disabled item
eventfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Defines an event on the parent element to display the menu. Default value is "oncontextmenu".
hideDelayfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Integer)
Delay between losing focus and menu closing. Default value is "800".
idfalsefalsejava.lang.StringEvery component may have a unique id that is automatically created if omitted
itemClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Assigns one or more space-separated CSS class names to the component item
itemStylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
CSS style rules to be applied to the component item
oncollapsefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called before the menu is collapsed
onexpandfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called before the menu is expanded
ongroupactivatefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when some context menu group is activated
onitemselectfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when some item is selected
onmousemovefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a pointer is moved within the element
onmouseoutfalsefalsejavax.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
onmouseoverfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a pointer is moved onto the element
popupWidthfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Set minimal width for the all of the lists that will appear
renderedfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
If "false", this component is not rendered
selectItemClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Assigns one or more space-separated CSS class names to the component selected item
selectItemStylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
CSS style rules to be applied to the component selected item
showDelayfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Integer)
Delay between event and menu showing. Default value is "50".
stylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
CSS style rules to be applied to the component
styleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Assigns one or more CSS class names to the component. Corresponds to the HTML "class" attribute.
submitModefalsefalsejavax.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.


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.