Contents> element, Contents> elemenet details – Grandstream GXP21xx XML Application Guide User Manual

Page 20

Advertising
background image

FIRMWARE VERSION 1.0.4.23 GXP21xx XML APPLICATION GUIDE Page 20 of 36

select fields

Softkeys

Child element

Mandatory

-

Defines softkey display and action.

ShowStatusLine

Child element

Optional

"true"/

"false"

It could use "true" or "false" as its

text.

"true": the line label on the left side

will be always displayed during XML

application.

"false": the line label on the left side

will not be displayed during XML

application. So the XML application

information could be shown in a full

screen manner.

Default is "true".

<Contents> ELEMENT

This is the main customization section for the XML application. A sample could be like below.

<Contents> ELEMENET DETAILS

Object

Position

Type

Values

Comments

Contents

Element

Mandatory

-

DisplayString

Child element

Optional

-

Displays string

DisplayBitmap

Child element

Optional

-

Displays bitmap picture

<Contents>

<DisplayString>

String information

</DisplayString>

<DisplayBitmap>

Image information

</DisplayBitmap>

<DisplayRectangle x="

X location

" y="

Y location

" width="

Width

" height="

Height

"

bgcolor="

Background color

"/>

<input name="

input name

" value="

value

" type="

text

" maxlength="

max length

" data-type="

int

">

Input information

</input>

<select name="

list name

">

Select information

</select>

</Contents>

Advertising