Attributes |
Name | Required | Request-time | Type | Description |
action | no | false | javax.el.MethodExpression | 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 | no | false | javax.el.MethodExpression | 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 | no | false | 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. |
disabled | no | false | boolean | Boolean value to disable/enable the menu item. The menu item will still be shown but with different styling, and clicking on it will not trigger any action. |
helpText | no | false | java.lang.String | Text to display additional information. |
icon | no | false | java.lang.String | Path of the menuitem image. |
id | no | 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 | no | 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. Default = 'false'. |
onclick | no | false | java.lang.String | Javascript event handler for click event. If this function explicitly returns 'false', then the request to the server will be cancelled. |
rendered | no | false | boolean | Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle. Default = 'true'. |
style | no | false | java.lang.String | Style of the menuitem label. |
styleClass | no | false | java.lang.String | StyleClass of the menuitem label. |
target | no | false | java.lang.String | Target type of url navigation. |
url | no | false | java.lang.String | Url to be navigated when menuitem is clicked. |
value | no | false | java.lang.Object | The current value of the simple component. |