Draft 1 – Aastra Telecom 9480i Series User Manual

Page 1159

Advertising
background image

Creating an XML Application

41-001160-03, Rev 00, Release 2.4

F-83

CancelAction Attribute
(configurable via XML objects only)

The XML “cancelAction” attribute allows you to specify a URI that a GET is
executed on when the user presses the default CANCEL key.

You can add this optional feature at the end of any of the XML objects. The
format is:

<Hardkey> action="Cancel">

<Label>Label to Display</Label>

<URI>URI to Get</Label>

</Hardkey>

XML Example:

The following illustrates the AastraIPPhoneTextScreen object using the “Cancel”
attribute:

<AastraIPPhoneTextScreen> cancelAction=”http://10.50.10.117/

ft.xml”>

<Title>Test</Title>

<Text>This is a test of the cancel action</Text>

</AastraIPPhoneTextScreen>

When this XML script is sent to the phone, and the user presses the default
CANCEL key, the script executes a GET on http://10.50.10.117/ft.xml.

Note:

The URI must be fully qualified.

Note:

If the “cancelAction” attribute was not used in the above script,

then pressing the CANCEL key would simply cancel the current screen.

Draft 1

Advertising
This manual is related to the following products: