Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The menu structure can be defined with an RDMLX list (normal list or JSON list). To do this you must create a list with a specific format. The list must have 6 columns containing the following values:
1.  Menu   Menu item ID - A unique id for the menu item. This can be a number or a string. If using numbers, do not use zero (items with an id of zero cannot have child items).
2.  Parent   Parent item ID - The id of the parent item. Use zero (0) or an empty string for top level items with no parent.
3.  Caption   Caption - The text to display for the menu item.
4.  URL   URL - The URL that the menu item will navigate to when clicked. You can specify a complete URL or one that is relative to the current page. Use an empty string if the menu item is to invoke a webroutine.
5.  WAM   WAM - The name of the WAM containing the Webroutine to be invoked when the menu item is clicked.If the URL is specified, this is ignored.
6.  Webroutine   Webroutine - The name of the Webroutine to be invoked when the menu item is clicked.If the URL is specified, this is ignored.
7.  WAM   WAM Event (optional) – The VLF WAM Event to send to the webroutine handling the request.

...