menu

Defines the controls to place within a menu tab or menu pop-up. <param> tags within the menu block may override the param’s default attributes for display within this menu.

Synax

<menu menuid="menu-id" menustate="state" name="name" staticid="static-id">

<param/>

<param/>

. . .

</menu>

Attributes

Attribute

Values

Restrictions

Description

menuid

Integer

Required

Numeric ID for the menu. Menu tabs within a menu group are displayed in numeric order, lowest first. This value may be changed to dynamically re-order menus.

menustate

0

 

Menu is hidden

1

Menu is displayed, but params are read-only

2

Menu is displayed and params are read/write (based upon individual parameter access permissions)

name

String

 

Name of the menu. This name will appear in the menu tab.

staticid

Integer

Required

Unique numeric identifier for this menu.  This value must be only set once and not changed.

Example

The following example creates a menu called “Network Setup”.

<menu menuid="257" menustate="2" name="Network Setup" staticid="257">

<param access="1" name="Addressing Mode" oid="0x0x711"/>

<param access="1" name="IP Address" oid="0x712"/>

<param access="1" name="Subnet Mask" oid="0x713"/>

<param access="1" name="Default Gateway" oid="0x714"/>

</menu>