Implementing the Menu Bar

The PT application implements application menus by using XSL files to transform an XML file containing the names of menus and menu items. The XSL transformation results in an HTML page that populates the application's menu frame. The page is created dynamically each time a browser requests a form and is never stored as a file.

The PT Admin application builds only a single menu. The PT User application, however, builds three menus, depending on whether the user logs on as an individual, evaluator, or auditor.

The application builds its menu frame as soon as a form is requested; gate.asp returns the frameset populated with HTML files for the logo frame, left pane, and right pane of the form. Unlike the menu frame, these frames are built by merging globalized XML template files with the lingo.xml file.

The following topics describe the process of creating menus and menu items: