<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

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
dividerImagethe dividerImage used for the menu items on this menu.
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
subMenuImagethe subMenuImage used as a sub-menu item indicator for this menu
tabIndexThe FormElement tabindex
targetThe value of the TARGET= argument 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.Menu.

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