aui
Tag nav-item


Creates a navigation item for using in an <aui:nav> component.


Tag Information
Tag Classcom.liferay.taglib.aui.NavItemTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
anchorCssClassfalsetruejava.lang.StringSets a CSS class for styling the link set in the href attribute.
anchorDatafalsetruejava.lang.ObjectTakes a set of data and passes it as HTML data attributes for the anchor. For example, the HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.
anchorIdfalsetruejava.lang.StringIdentifies the instance of the navigation item's link, set in the href attribute.
ariaLabelfalsetruejava.lang.StringSets a name for the navigation item for assistive technologies to interpret.
ariaRolefalsetruejava.lang.StringSets a role for assistive technologies to interpret HTML elements that have been used for something other than their intended purpose. For example, the <p> tag could be used for something other than a paragraph.
cssClassfalsetruejava.lang.StringSets a CSS class for styling this component.
datafalsetruejava.lang.ObjectTakes a set of data and passes it as HTML data attributes. For example, the HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.
dropdownfalsetruebooleanSets whether the navigation item is a dropdown menu. The default value is false.
hreffalsetruejava.lang.ObjectSets the URL navigated to when the navigation item is clicked.
iconCssClassfalsetruejava.lang.StringSets a CSS class for styling the navigation item's icon.
idfalsetruejava.lang.StringIdentifies the component instance.
labelfalsetruejava.lang.StringSets the text to display for the navigation item.
localizeLabelfalsetruebooleanNo Description
selectedfalsetruebooleanSets whether the navigation item is selected by default. The default value is false.
statefalsetruejava.lang.StringNo Description
titlefalsetruejava.lang.StringSets the navigation item's title.
togglefalsetruebooleanNo Description
useDialogfalsetruebooleanSets whether to open a dialog window with the href location when a user clicks the navigation item. The default value is false.
wrapDropDownMenufalsetruebooleanSets whether to wrap the navigation item's dropdown menu in an unordered list with the drop-down-menu class. The default value is true.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.