pageMenu

The pageMenu element defines how menus and buttons are displayed on the page.

Element Structure

The pageMenu element structure is as follows:

<xs:complexType name="pageMenu">

   <xs:sequence>

      <xs:element name="menuVisible" type="xs:boolean" />

      <xs:element name="menuButtons" type="tns:button" minOccurs="0" maxOccurs="unbounded" />

   </xs:sequence>

</xs:complexType>

tog_minusSub-elements

The pageMenu element contains the following sub-elements:

Name

Data Type

Comment

menuVisible

boolean

Specifies whether a menu is displayed or is hidden.

menuButtons

button

Spreads buttons equally in the specified area according to the number of buttons.

tog_minusPage Menu Example

This section presents a sample page menu, followed by the JSON content that builds the UI representation.

PageMenu

"pageMenu" : {

        "menuVisible" : true,

        "menuButtons" : [ {

          "buttonState" : "DISABLED",

          "buttonVisible" : false,

          "buttonAction" : "server://navigationType?type=HELP&shouldSendFormData=false"

        }, {

          "buttonState" : "DISABLED",

          "buttonVisible" : false,

          "buttonAction" : "local://chat"

        }, {

          "buttonState" : "NORMAL",

          "buttonVisible" : true,

          "buttonLabel" : "Call",

          "buttonAction" : "local://call?phone=%2B1-800-0000000,111500039&voiceQueue=0",

          "buttonImageName" : "icon_call.png"

        }, {

          "buttonState" : "NORMAL",

          "buttonVisible" : true,

          "buttonLabel" : "More",

          "buttonAction" : "local://CURRENT",

          "buttonImageName" : "icon_more.png"

        } ]

      }