The <rich:panelMenuItem> component represents a single item inside a <rich:panelMenuGroup> component, which
is in turn part of a <rich:panelMenu> component.
@author akolonitsky
Attributes |
Name |
Required |
Type |
Description |
action |
false |
javax.faces.el.MethodBinding |
MethodExpression representing the application action to invoke when this component is activated by the user. The expression
must evaluate to a public method that takes no parameters, and returns an Object (the toString() of which is called to derive
the logical outcome) which is passed to the NavigationHandler for this application.
|
actionListener |
false |
javax.faces.el.MethodBinding |
MethodExpression representing an action listener method that will be notified when this component is activated by the
user. The expression must evaluate to a public method that takes an ActionEvent parameter, with a return type of void, or to a public method that takes no arguments with a return type of void. In the latter case, the
method has no way of easily knowing where the event came from, but this can be useful in cases where a notification is needed
that "some action happened".
|
binding |
false |
javax.faces.component.UIComponent |
The value binding expression used to wire up this component to a component property of a JavaBean class |
bypassUpdates |
false |
boolean |
If "true", after process validations phase it skips updates of model beans on a force render response. It can be used for
validating components input
|
data |
false |
java.lang.Object |
Serialized (on default with JSON) data passed to the client by a developer on an AJAX request. It's accessible via "event.data"
syntax. Both primitive types and complex types such as arrays and collections can be serialized and used with data
|
disabled |
false |
boolean |
Defines whenever this component should be disabled. |
disabledClass |
false |
java.lang.String |
Space-separated list of CSS style class(es) to be applied to the panel menu item when it is disabled. |
execute |
false |
java.lang.Object |
Ids of components that will participate in the "execute" portion of the Request Processing Lifecycle. Can be a single id,
a space or comma separated list of Id's, or an EL Expression evaluating to an array or Collection. Any of the keywords "@this",
"@form", "@all", "@none", "@region" may be specified in the identifier list. Some components make use of additional keywords
|
id |
false |
java.lang.String |
The component identifier for this component. This value must be unique within the closest parent component that is a naming
container.
|
immediate |
false |
boolean |
Flag indicating that, if this component is activated by the user, notifications should be delivered to interested listeners
and actions immediately (that is, during Apply Request Values phase) rather than waiting until Invoke Application phase.
|
label |
false |
java.lang.String |
A localized user presentable name for this component. |
leftDisabledIcon |
false |
java.lang.String |
The icon displayed on the left of the menu item when it is disabled |
leftIcon |
false |
java.lang.String |
The icon displayed on the left of the menu item label |
leftIconClass |
false |
java.lang.String |
Space-separated list of CSS style class(es) to be applied to the left icon of the panel menu item. |
limitRender |
false |
boolean |
If "true", render only those ids specified in the "render" attribute, forgoing the render of the auto-rendered panels |
mode |
false |
org.richfaces.PanelMenuMode |
Mode used for selecting of this item: default value is inherited from panelMenu |
name |
false |
java.lang.String |
The name of this component |
onbeforedomupdate |
false |
java.lang.String |
The client-side script method to be called after the ajax response comes back, but before the DOM is updated |
onbeforeselect |
false |
java.lang.String |
The client-side script method to be called before the menu group is selected |
onbegin |
false |
java.lang.String |
The client-side script method to be called before an ajax request. |
onclick |
false |
java.lang.String |
Javascript code executed when a pointer button is clicked over this element. |
oncomplete |
false |
java.lang.String |
The client-side script method to be called after the DOM is updated |
ondblclick |
false |
java.lang.String |
Javascript code executed when a pointer button is double clicked over this element. |
onmousedown |
false |
java.lang.String |
Javascript code executed when a pointer button is pressed down over this element. |
onmousemove |
false |
java.lang.String |
Javascript code executed when a pointer button is moved within this element. |
onmouseout |
false |
java.lang.String |
Javascript code executed when a pointer button is moved away from this element. |
onmouseover |
false |
java.lang.String |
Javascript code executed when a pointer button is moved onto this element. |
onmouseup |
false |
java.lang.String |
Javascript code executed when a pointer button is released over this element. |
onselect |
false |
java.lang.String |
The client-side script method to be called after the menu group is selected |
onunselect |
false |
java.lang.String |
The client-side script method to be called after the menu group is unselected |
render |
false |
java.lang.Object |
Ids of components that will participate in the "render" portion of the Request Processing Lifecycle. Can be a single id, a
space or comma separated list of Id's, or an EL Expression evaluating to an array or Collection. Any of the keywords "@this",
"@form", "@all", "@none", "@region" may be specified in the identifier list. Some components make use of additional keywords
|
rendered |
false |
boolean |
Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent
form submit. The default value for this property is true.
|
rightDisabledIcon |
false |
java.lang.String |
The icon displayed on the right of the menu item when it is disabled |
rightIcon |
false |
java.lang.String |
The icon displayed on the right of the menu item label |
rightIconClass |
false |
java.lang.String |
Space-separated list of CSS style class(es) to be applied to the right icon of the panel menu item. |
selectable |
false |
java.lang.Boolean |
Defines whenever the item is selectable. |
status |
false |
java.lang.String |
Name of the request status component that will indicate the status of the Ajax request |
style |
false |
java.lang.String |
CSS style(s) to be applied when this component is rendered. |
styleClass |
false |
java.lang.String |
Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through
as the "class" attribute on generated markup.
|