The menu Component provides a way of creating desktop style menus on web pages. It allows sub-menus, check and radio menu items and image menus. It also provides pop-up menus.
| Attributes |
| Name | Required | Request-time | Type | Description |
| id | false | false | java.lang.String |
A string specifying the identifier for this component. This value must be
unique within the closest parent component that is a naming
container.
|
| binding | false | false | java.lang.String |
The value binding expression linking this component to a property in a backing bean.
|
| value | false | true | java.lang.String |
A string value holding the current value of the component.
|
| rendered | false | true | java.lang.String |
A boolean value indicating whether or not this component should be rendered
(during Render Response Phase), or processed on any subsequent
form submit.
|
| converter | false | true | java.lang.String |
The converter id to use. as specified in faces-config.xml.
|
| menuListener | false | true | java.lang.String |
Executed when a menu is activated.
A string that represent a javascript expression to evaluate and eventually a server action to execute.
the two parts are separated by a semi-column.
If the javascript evaluation return false (by using the return keyword) the server action is not executed.
The server action is represented by a binding.
|
| selectionListener | false | true | java.lang.String |
Executed when the component is selected.
A string that represent a javascript expression to evaluate and eventually a server action to execute.
the two parts are separated by a semi-column.
If the javascript evaluation return false (by using the return keyword) the server action is not executed.
The server action is represented by a binding.
|
| checkListener | false | true | java.lang.String |
Executed when the component is checked.
A string that represent a javascript expression to evaluate and eventually a server action to execute.
the two parts are separated by a semi-column.
If the javascript evaluation return false (by using the return keyword) the server action is not executed.
The server action is represented by a binding.
|
| selectedValues | false | true | java.lang.String |
A table of the values associated with selected nodes for the component. (Binding only)
|
| checkedValues | false | true | java.lang.String |
A table of the values associated with checked nodes for the component. (Binding only)
|
| menuId | false | true | java.lang.String |
An id used to retreive a specific menu. For example, "#node" is used to call a menu on a tree node while "#body" is used for the menu boody.
|
| removeAllWhenShown | false | true | java.lang.String |
A boolean value specifying wether the content of the component must be remove before the listener is called and the component displayed.
|
| converter | false | true | java.lang.String |
The converter id to use. as specified in faces-config.xml.
|