The menu item auxiliary component allows you to define a menu item in a menu model. The menu item should be nested inside a menu auxiliary component (menu
).
Attributes |
Name | Required | Request-time | Type | Description |
actionListener | false | false | java.lang.String | An action listener |
enabled | false | false | java.lang.String | If the pop-up is not enabled, it's rendered differently and its attached action cannot be triggered. |
id | false | false | java.lang.String | The id of this menu, used in action listeners to determine which menu item was triggered. |
image | false | false | java.lang.String | An optional image. |
invocationContext | false | false | java.lang.String | The invocation context of the valueChangeListener. Valid values are JSF_CONTEXT and IMAGE_SERVLET_CONTEXT . In JSF_CONTEXT mode, the page is submitted to trigger the JSF lifecycle. In IMAGE_SERVLET_CONTEXT mode, the value change listener is invoked in the image generating servlet, just before the image generation. So the listener can only access to the graphic component that generates the image and not to the JSF components that are not refreshed. |
label | false | false | java.lang.String | The label of this menu item. |
onclick | false | false | java.lang.String | The JavaScript action executed when the button is clicked. |
baseTextDirection | false | false | java.lang.String | This attribute controls the direction of the text. supported values: LTR, RTL , Contextual |