Menu Objects

Menu objects are used to define the menu structure of the Xephr® entities and are used during runtime to allow access to the entities that have been created.  There are three types of menu objects: menus, menu links, and entity menus.  

Entities can be run from their menu links.  For more information, see the Running Entities from Xephr Studio section.

Menu and Menu Links

Menu objects reference both entities and other menu objects.  Within the Xephr Studio, the menu objects are displayed in the same hierarchy in which the runtime will display the selections.  

The top-level parent menus are displayed at the first level below the Menu Information object.  These are menus that are not assigned to be displayed on any other menu.  Normally, top level menus are those that are displayed to users when they log in.   

Beneath the top-level parent menus are additional menus and menu links.  Menu links that go to entities will display the icon for the entity.  Menu links that go to other menus display the menu icon and can be expanded to view the menus and menu links assigned to them.

Runtime menus mimic the menu hierarchy set up in the Menu Information section of the Xephr studio.  There are two ways to reference menus during runtime, cascading menus and standard blocks set up to use the Xephr menu datasource.

Entity Menus

Entity menus are located under each entity, and define the menus that contain links to the entity.  Entities can have multiple entity menus.  

In this example, the CONTACTS entity contains one entity menu for the CUSTOMERS menu and one entity menu for the CUSTOMERS_MENU menu.  These links cannot be maintained here.  In order to maintain an entity's menu links, you must find the menu link in the Menu Information section.  Entity menu objects are created when the user either right clicks on the entity and selects Add to Menu, or when the user adds a menu link to a menu in the Menu Information section.  

Creating/Modifying Menus

  1. In the Explorer Tree, expand the Menu Information object to display all of the menus that have been created.  Expand and select the menu in which you are creating a new menu.

  2. Right click on the selected menu to display the right-click menu.  Hold your cursor over the New option, and when the sub-menu is displayed, drag your cursor over either the Menu option.

  3. The new menu will be added to the tree in green, and the property sheet  is displayed for you to define the menu.  Menu properties will either be displayed in Alphabetical or Logically, depending on the setting of the [Sort Alphabetically/Logically] button.  The following instructions are assuming that the properties are sorted logically.

  4. In the Menu Name property, enter the name of the new menu.

  5. In the Description property, enter the user-defined description for the menu.

  6. In the Z Order property, enter the numeric value that indicates in what order this menu will be displayed on its parent menu during runtime.

  7. In the Display Text property, enter the text that will be displayed as the link to this menu on the parent menu.  

  8. In the New Window property, select true or false to indicate whether this menu will be opened in a new window when selected on the parent menu.  When set to true, it indicates that when the menu is selected during runtime, it will be displayed in a new window.  When set to false, it indicates that the menu will be displayed in the current window.  Generally, this pop-list should be set to false for menus.

  9. When all changes have been made, press the [Save] button in the Main Toolbar.

Creating/Modifying Menu Links

  1. In the Explorer Tree, expand the Menu Information object to display all of the menus that have been created.  Expand and select the menu in which you are creating a new menu link.

  2. Right click on the selected menu to display the right-click menu.  Hold your cursor over the New option, and when the sub-menu is displayed, drag your cursor over either the Menu Link option.

  3. The new menu link will be added to the tree in green, and the property sheet  is displayed for you to define the menu link.  Menu properties will either be displayed in Alphabetical or Logically, depending on the setting of the [Sort Alphabetically/Logically] button.  The following instructions are assuming that the properties are sorted logically.

  4. In the Entity property, select the name of the entity that will be opened when this menu link is selected.  

  5. In the Z Order property, enter the numeric value that indicates in what order this menu link will be displayed on its parent menu during runtime.

  6. In the Display Text property, enter the text that will be displayed as the link to this entity on the parent menu.  

  7. In the New Window property, select true or false to indicate whether this entity will be opened in a new window when selected on the parent menu.  When set to true, it indicates that when the entity is selected during runtime, it will be displayed in a new window.  When set to false, it indicates that the entity will be displayed in the current window.

  8. When all changes have been made, press the [Save] button in the Main Toolbar.

Creating Entity Menus

  1. In the Explorer Tree, expand the Group Information objects until you can select the entity that you wish to add to a menu.

  2. Right click on the entity and select Add To Menu

  3. The Create New Menu Link screen will be displayed for you to select the parent menu for the entity.

  1. Menus to which the entity has already been added will be grayed out.

  2. You can expand a menu to display the menus assigned to it by clicking on the menu in the upper portion of this screen.

  3. Click on a menu to select it.

  4. Enter the text to display as the link in the Display Text field.

  5. Click on the Ok button at the bottom of the screen.

  6. The menu link and entity menu have been created.

  7. You cannot modify entity menus.  In order to change any settings for the entity menu, you must modify the menu link in the Menu Information section.

Xephr is a registered trademark of NDS Systems, LC.

Copyright © 2007 NDS Systems LC.