<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
accessKey | The accesskey |
---|---|
alternateText | The text that provides tooltip when hovering over the image. |
customAttributes | a list of attributes in the form of attribute="value", space delimited |
disabledImage | image displayed when the menu item is disabled |
enabled | the enabled String |
id | Case-sensitive name used to identify the object instance. |
image | the image String |
imageLocation | the image location |
imagePosition | the imagePosition String |
label | the label String |
locale | Specifies the locale to use for this instance of the class. |
objectDataProperty | Value assigned to the output tag's objectDataProperty attribute. |
styleClassPrefix | the styleClassPrefix String |
tabIndex | The FormElement tabindex |
target | The value of the TARGET= argrument on the anchor tag |
title | The title of the href |
URL | the URL String |
wrap | boolean 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.