wiki:MenuElement

<menu>

The menu element allows the design of a hierarchical user interface with a menu on the left of the user interface and/or in tabs for each contained subscreen (menu, form, plugin).

Usage example of the <menu> element:

<molgenis>
        <menu name="my_mainmenu">
                <form name="myfirsttab" entity="an_entity1" />
                <menu name="my_submenu">
                        <form name="mythirdtab" entity="an_entity2" />
                        <form name="myfourthab" entity="an_entity3" />
                </menu>
        </menu>
</molgenis>     

Required attributes

  • name="menuname": locally unique name for this screen element (within its container).

Optional attributes

  • startswith="mysubelement": subscreen tab that is selected when menu is first shown (default: first subscreen).
  • position="top_left|top_right|left": position where the menu is shown (default: top_left unless wrapped in a parent menu having other position).

Child elements

  • Zero or more <menu> elements to denote subscreen(s).
  • Zero or more <form> elements to denote subscreen(s).
  • Zero or more <plugin> elements to denote subscreen(s).