CA Technologies Prerelease Documentation. Authorized Use Only.
The menuItemLocal macro defines an item on a menu that invokes a JavaScript function in the form containing the menu. You define a menubar page with the startMenubar, menubarItem, endMenubar, startMenu, menuItem, menuItemLocal, and endMenu macros. For example:
<PDM_MACRO name=startMenubar. . .> <PDM_MACRO name=menubarItem. . .> <PDM_MACRO name=menubarItem. . .> . . . <PDM_MACRO name=endMenubar> <PDM_MACRO name=startMenu. . .> <PDM_MACRO name=menuItem. . .> <PDM_MACRO name=menuItemLocal. . .> . . . <PDM_MACRO name=endMenu> <PDM_MACRO name=startMenu. . .> . . . <PDM_MACRO name=endMenu> . . .
This macro has the following properties:
(Required) Specifies the JavaScript function invoked when the menu item is selected. This function must be available in the form containing the menu.
Provides a hotkey suggestion for this menubar item. CA Service Desk Manager selects the hotkey for the menubar item from the characters in the string; otherwise, it selects the hotkey from the characters in the label.
Specifies the name of an image file displayed as an icon on the menu next to the menu item.
Specifies a JavaScript ID for the menu item.
(Required) Specifies the text of the menu item.
Specifies a tooltip for the icon.
Copyright © 2012 CA.
All rights reserved.
|
|