Attributes |
Name | Required | Request-time | Type | Description |
action | false | false | java.lang.String | MethodBinding representing the application action to invoke when this component is activated by the user. The expression must evaluate to a either a String or a public method that takes no parameters, and returns a String (the logical outcome) which is passed to the NavigationHandler for this application. |
actionListener | false | false | java.lang.String | MethodBinding 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. |
alt | false | false | java.lang.String | Passed through to IMG tag of rendered icon in MenuItem |
binding | false | false | java.lang.String | The value binding expression linking this component to a property in a backing bean |
disabled | false | false | java.lang.String | Indicates tab should be disabled. |
enabledOnUserRole | false | false | java.lang.String | If user is in given role, this component will be rendered normally. If not, the component will be in disabled state. |
icon | false | false | java.lang.String | icon |
id | false | 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 | false | java.lang.String | Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase. |
link | false | false | java.lang.String | link |
onclick | false | false | java.lang.String | Javascript to be executed before the MenuItem's CommandLink submits to the server. |
rendered | false | false | java.lang.String | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. |
renderedOnUserRole | false | false | java.lang.String | If user is in given role, this component will be rendered normally. If not, nothing is rendered and the body of this tag will be skipped. |
style | false | false | java.lang.String | CSS style(s) to be applied when this component is rendered. |
styleClass | false | 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.
As the top level menu items are part of the menuBar so the style class names rendered differently for top level and non to level menu items. The base name rendered same for all non top level menu item regardless of orientation. Default value is iceMnuItm if enabled - iceMnuItm
- iceMnuItmImage
- iceMnuItmLabel
if disabled - iceMnuItm-dis
- iceMnuItmImage-dis
- iceMnuItmLabel-dis
As the top level menu item is part of the MenuBar, so it is possible to have different representation for horizontal and vertical menu. For the top level menu items the style class base name depends on orientation of the menu . Default value for top level menu item iceMnuBar: if enabled + horizontal - iceMnuBarItem
- iceMnuBarItemImage
- iceMnuBarItemLabel
if enabled + vertical - iceMnuBarVrtItem
- iceMnuBarVrtItemImage
- iceMnuBarVrtItemLabel
if disabled + horizontal - iceMnuBarItem-dis
- iceMnuBarItemImage-dis
- iceMnuBarItemLabel-dis
if disabled + vertical - iceMnuBarVrtItem-dis
- iceMnuBarVrtItemImage-dis
- iceMnuBarVrtItemLabel-dis
|
target | false | false | java.lang.String | target |
title | false | false | java.lang.String | Passed through to root DIV tag of rendered MenuItem |
value | false | false | java.lang.String | The current value of this component. |