IP Phone Administrator Guide How to Create an XML Application

Appendix G

Text Screen Object (Text Screens)

You use the AastraIPPhoneTextScreen object to display text to the LCD screen on the IP Phone. The screen text wraps appropriately and can scroll to display a message longer then four lines.

After implementing this object, text displays to the LCD on the IP phone. A user can scroll through the screens as required. If you use the “destroyOnExit” attribute in the XML script, when the user exits the XML screeens, the screens are destroyed. You can also allow specific text screens to redisplay for redirection to a new page by using the “doneAction” attribute and specifying the new page to go to in the XML script.

Notes:

1. You can use the “destroyOnExit” attribute with any XML object as required.

2.You can use the “doneAction” attribute with the AastraIPPhoneTextScreen and AastraIPPhoneFormattedTextScreen objects only.

3.For all available parameters you can use for the Text Screen object, and for an explanation of each parameter, see Aastra Telecom’s

"XML Developer’s Guide".

Implementation

The following is how you would implement the Text Screen object.

Softkey:

6=Done

XML Description:

<AastraIPPhoneTextScreen destroyOnExit = "yes/no"> <Title>Screen Title</Title>

<Text>The screen text goes here</Text> </AastraIPPhoneTextScreen>

or

<AastraIPPhoneTextScreen doneAction=”HTTP address”> <Title>Screen Title</Title>

<Text> The screen text goes here</Text> </AastraIPPhoneTextScreen>

G-12

41-001160-00, Release 2.1, Rev 04

Page 750
Image 750
Aastra Telecom 57I CT, 55I, 53I manual Text Screen Object Text Screens, Implementation