JeeWiz Home  
The Model-Driven System Builder
JeeWiz Modeler's Help File for RSA/RSM
 
Contents  >   5.  User Interfaces
 


5.11 How to Model Menus

The menu hierarchy is built up of pages, each page capable of supplying a menu entry. The linkCaption property on a page gives the text of the menu option, and the container shows where the menu item appears in the hierarchy.

The head of the menu hierarchy is always the index page, which is displayed as the home page of the application. Normally you should not model the index page, but allow it to be created for you. You also do not need to model the DataMaintenance or TabbedDataMaintenance pages; these are also created for you.

To create a first level menu entry under index, set the container property for a page to "index". From there on down, any page in the hierarchy can have its name referenced as container by another page, which then appears in the hierarchy.

The style of the menu is set at the level of the application (menuStyle property). Apart from the default, three styles are available: "tlr", "expandable" and "context".

The tlr menu is the standard menu style available in releases before version 3.7 of the transform. It encompasses a top, left and right menu. The top menu, displayed across the top of the screen, consists of the home page and all the top level menu items immediately under the home page. The left hand side menu consists of the top level items and those immediately under them. The right hand side menu is context sensitive, and consists of second and third level menu items, if they have been set to lhs-menu or rhs-menu.

The expandable menu is a left hand side menu only. It consists of all pages in the hierarchy, each page being capable of expansion to show the pages under it. There is no need to style pages rhs-menu or lhs-menu. The menu displays them all anyway.

The default menu uses the same left hand side menu as expandable, but adds the top menu of tlr along the top of the page.

The context menu consists of the context of the current page shown along the top menu and a list of the possible child options shown down the left hand side.


Link:  

Copyright © 2001-2006 New Technology / enterprise Ltd.