<sas:Menu>
Used with the MenuBar and MenuItem tags to generate a menu.
This tag must be nested within a sas:MenuBar tag.
Syntax
<sas:Menu
[accessKey="java.lang.String"]
[alternateText="java.lang.String"]
[customAttributes="java.lang.String"]
[disabledImage="java.lang.String"]
[dividerImage="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"]
[subMenuImage="java.lang.String"]
[tabIndex="int"]
[target="java.lang.String"]
[title="java.lang.String"]
[URL="java.lang.String"]
[wrap="true|false"]>
[<sas:MenuItem ...>
[<sas:StyleMapKey .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:StyleMapKey>, <sas:SetProperty> tags...]
</sas:MenuItem>]
[<sas:MenuItemSeparator .../>]
[<sas:Menu .../>]
[<sas:SelectorMenuItem .../>]
[<sas:StyleMapKey .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:MenuItem>, <sas:MenuItemSeparator>, <sas:Menu>, <sas:SelectorMenuItem>, <sas:StyleMapKey>, <sas:SetProperty> tags...]
</sas:Menu>
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 |
dividerImage | the dividerImage used for the menu items on this menu. |
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 |
subMenuImage | the subMenuImage used as a sub-menu item indicator for this menu |
tabIndex | The FormElement tabindex |
target | The value of the TARGET= argument 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.Menu.
If you need to subclass the tag handler class for the sas:Menu tag, extend com.sas.taglib.servlet.tbeans.menubar.MenuTag.