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 "true".
disabledItemClassfalsefalsejavax.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
disabledItemStylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
CSS style(s) is/are to be applied to disabled item when this component is rendered.
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)
Space-separated list of CSS style class(es) that are be applied to item of this component
itemStylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
CSS style(s) is/are to be applied to item when this component is rendered.
oncollapsefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: script expression; a menu is collapsed.
onexpandfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: script expression; a menu is expanded.
ongroupactivatefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: script expression; some group was activated
onitemselectfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: script expression; some item was selected
onmousemovefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: script expression; a pointer was moved within
onmouseoutfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: script expression; a pointer was moved away
onmouseoverfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: script expression; a pointer was moved onto
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)
Space-separated list of CSS style class(es) that are be applied to selected item of this component.
selectItemStylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
CSS style(s) is/are to be applied to selected item when this component is rendered.
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(s) is/are to be applied when this component is rendered
styleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
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.