A menu document defines a navigation menu that can be used by a menu widget. Typically the main menus for your application are defined in device types, while you use menu documents for auxiliary menus, for example, a side bar.
A menu consists of a list of menu items, which optionally contain sub-items. Depending on the widget a number of levels are allowed.
If security is enabled, the menu will only show items that the user has access to.