Aastra Telecom 53I User Manual

Page of 818
How to Create an XML Application
G-6
41-001160-00, Release 2.1, Rev 04  
IP Phone Administrator Guide
Appendix G
Text Menu Object (Menu Screens)
The Text Menu object allows application developers to create a numerical list of 
menu items on the IP phones. The go-to line support, arrow indicator, and scroll 
key support are built into these objects, along with the "Select" and "Done" soft 
keys. You can also turn off automatic numbering of menu items using the 
style=”none" attribute or use bullets for lists instead of numbers using the 
style=”bullet”.
TheText Menu object allows users to navigate the application, by linking HTTP 
requests to menu items.
Implementation
The following is how you would implement the Text Menu object.
Softkeys:
1=Select
6=Done
XML Description:
<AastraIPPhoneTextMenu 
    defaultIndex = "some integer"
    destroyOnExit = "yes/no">
<Title>Menu Title</Title>
<MenuItem base ="http://base/">
<Prompt>First Choice</Prompt>
<URI>http://somepage.xml</URI>
<Selection></Selection>
</MenuItem>
<!-Additional Menu Items may be added -->
<!-Additional Softkey Items may be added -->
</AastraIPPhoneTextMenu>
Note: 
For all available parameters you can use for the Text Menu object, 
and for an explanation of each parameter, see Aastra Telecom’s 
"XML Developer’s Guide".