<sas:MenuItem>

Used with the MenuBar and Menu tags to generate a menu.

This tag must be nested within a sas:Menu tag.

Syntax

<sas:MenuItem
   [accessKey="java.lang.String"]
   [alternateText="java.lang.String"]
   [customAttributes="java.lang.String"]
   [disabledImage="java.lang.String"]
   [enabled="true|false"]
   [id="value"]
   [image="java.lang.String"]
   [imageLocation="java.lang.String"]
   [imagePosition="Right|Left"]
   [label="java.lang.String"]
   [locale="java.util.Locale"]
   [objectDataProperty="java.lang.String"]
   [styleClassPrefix="java.lang.String"]
   [tabIndex="int"]
   [target="java.lang.String"]
   [title="java.lang.String"]
   [URL="java.lang.String"]
   [wrap="true|false"]>
      [<sas:StyleMapKey .../>]
      [<sas:SetProperty ...>
         The value to set on the parent tag
      </sas:SetProperty>]
      [Additional <sas:StyleMapKey>, <sas:SetProperty> tags...]
</sas:MenuItem>

Attributes

accessKeyThe accesskey
alternateTextThe text that provides tooltip when hovering over the image.
customAttributesa list of attributes in the form of attribute="value", space delimited
disabledImageimage displayed when the menu item is disabled
enabledthe enabled String
idCase-sensitive name used to identify the object instance.
imagethe image String
imageLocationthe image location
imagePositionthe imagePosition String
labelthe label String
localeSpecifies the locale to use for this instance of the class.
objectDataPropertyValue assigned to the output tag's objectDataProperty attribute.
styleClassPrefixthe styleClassPrefix String
tabIndexThe FormElement tabindex
targetThe value of the TARGET= argrument on the anchor tag
titleThe title of the href
URLthe URL String
wrapboolean value of the wrap property

More Information

To view the documentation for the related TransformationBean, see com.sas.servlet.tbeans.menubar.html.MenuItem.

If you need to subclass the tag handler class for the sas:MenuItem tag, extend com.sas.taglib.servlet.tbeans.menubar.MenuItemTag.