SubMenuStock

Before we can show how the wizard control is used within the VMS Motors application, we need to create a way in which the user can request that the Car Manufacturer Inventory Search wizard control be displayed. To achieve this, we need to create a new menu called SubMenuStock. The following sections describe the code required.

create-menubar

The {create-menubar} method defines the menu items that are available when the user clicks on the main Stock menu, and Figure 14-2 shows the code required.

You can see in Figure 14-2 how we have defined a single MenuAction to the Stock SubMenu, which is labeled Search Inventory. When the user clicks on this menu item, he or she will execute the {search-inventory} method, which is discussed later ...

Get Enterprise Curl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.