10. ICEfaces Tag Reference
Contents > ICEfaces Tag Reference > ice:menuItems
ice:menuItems |
|
The ice:menuItems tag is the submenu component to use if you want to supply a (potentially) dynamic heirarchy of menuItems.
Example
<ice:menuBar orientation="vertical">
<ice:menuItems value="#{backingBean.menuItems}" />
<ice:menuItem value="Item" />
</ice:menuBar>
Rendered Output
|
Tag Attributes
| action |
Text |
| |
| The action attribute accepts a method-binding expression for a backing bean action method to invoke when this component is activated by the user. An action method must be a public method with no parameters that returns a String. The returned string represents the logical outcome of the action (eg. "success", "failure", etc.) and is used by the JavaServer Faces MVC framework to determine which view to display next. |
| actionListener |
Text |
| |
| The actionListener attribute accepts a method-binding expression for a backing bean action listener method that will be notified when this component is activated by the user. An action listener method must be a public method with an javax.faces.event.ActionEvent parameter and a void return type. |
| binding |
Expression |
| |
| The value-binding expression linking this component tag to a backing bean property. |
| id |
Text |
| |
| The unique identifier value for this component. The value must be unique within the closest naming container. |
| rendered |
Boolean |
| |
| A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered. |
| value |
Text |
| |
| The value attribute sets the current value for this component. |
|