10. Tomahawk Tag Reference
Contents > Tomahawk Tag Reference > t:navigationMenuItem
t:navigationMenuItem |
|
The t:navigationMenuItem tag creates a menu item that is used by the navigationMenu and jscookMenu components.
Example:
<t:navigationMenuItem></t:navigationMenuItem>
|
Tag Attributes
| action |
String |
| |
| 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 |
String |
| |
| 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 |
String |
| |
| The value-binding expression linking this component tag to a backing bean property. |
| disabled |
String |
| |
| The disabled attribute is a boolean flag that when set to true indicates that this component should not receive focus or be included in a form submit. |
| disabledStyle |
String |
| |
| This attribute defines a CSS style to be applied to the tag when the disabled attribute has a boolean value of true. |
| disabledStyleClass |
String |
| |
| The disabledStyleClass attribute defines a CSS class to be applied to the tag when the disabled attribute has a boolean value of true. |
| enabledOnUserRole |
String |
| |
| The enabledOnUserRole attribute determines if this component will be rendered normally or not depending on the user's roles. |
| icon |
String |
| |
| The icon attribute defines the icon used by this navigation menu item. |
| id |
String |
| |
| The unique identifier value for this component. The value must be unique within the closest naming container. |
| itemDescription |
String |
| |
| The itemDescription attribute defines the textual description of the items rendered by this component. |
| itemDisabled |
String |
| |
| The itemDisabled attribute expects a boolean value that, when true, causes this component to be excluded from UI component state saving during the JSF request processing lifecycle. |
| itemLabel |
String |
| |
| The itemLabel attribute defines the text label displayed to the user by this component. |
| itemValue |
String |
| |
| The itemValue attribute defines the value associated with this component. |
| rendered |
String |
| |
| A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered. |
| split |
String |
| |
| The split attribute expects a boolean value that, when true, indicates that this menu should be split when it is rendered. |
| target |
String |
| |
| The target attribute identifies the name of a frame into which the resource retrieved by this hyperlink should be displayed. |
| value |
String |
| |
| The value attribute sets the current value for this component. |
| visibleOnUserRole |
String |
| |
| The visibleOnUserRole attribute determines if this component will be visible or not depending on the user's roles. |
|