Table 17.2. The Menu XML Types
Name | Description |
---|---|
static | A single menu entry with a defined description and destination. |
foreach | A menu entry which will repeat for each value in the specified passed record structure (hashref in perl). Please see the entry on the menu functions in the programming manual, reference section, for Wacs UI |
divider | Puts in a horizontal rule at this point in the menu |
heading | Puts in a bold heading in the menu. Note that this is allowed to have a link on it if you want that but it will not have substitutions applied. |
Shown below is a very simple sample menu.
Example 17.1. Sample Menu
<?xml version='1.0' standalone='yes'?> <menu> <main> <menutitle>Main Menu</menutitle> <default>#WACSALLM#</default> <entry> <type>static</type> <title>All Models Index</title> <target>#WACSALLM#</target> </entry> <entry> <type>static</type> <title>PHP Demo</title> <target>#BASEURL#simple/index.php</target> </entry> </main> </menu>