How to Create an XML Application
41-001160-00, Release 2.1, Rev 04
G-53
Creating an XML Application
Appendix G
AastraIPPhoneTextMenu (Icon Menu)
The
AastraIPPhoneTextMenu
(Icon Menu) object is identical to the
“Text Menu
Object (Menu Screens)”
described on
page G-6
, except a small icon image
appears after the menu number and before the text item. The Text Menu object
allows application developers to create a numerical list of menu items on the IP
phones. The AastraIPPhoneTextMenu (Icon Menu) object allows users to
navigate the application, by linking HTTP requests and icons to menu items.
XML Example
:
The XML script for the AastraIPPhoneTextMenu (Icon Menu) object is as
follows:
<AastraIPPhoneTextMenu>
<Title> Icon Menu </Title>
<MenuItem base = http://someserver/,
icon="1"
>
<Prompt> Voicemail </Prompt>
<URI>scripts/voicemail.php</URI>
</MenuItem>
<MenuItem
icon="2"
>
<Prompt> Horoscope</Prompt>
<URI> scripts/horoscope.php </URI>
</MenuItem>
<IconList>
<Icon index = "1"> Icon:Envelope </Icon>
<Icon index = "2"> FFFF0000FFFF0000 </Icon>
</IconList>
</AastraIPPhoneTextScreen>
The “
icon=1
” attribute in the above example tells the phone to display the icon
specified in the IconList called “
<Icon index = “1”> Icon:Envelope </Icon>
”.
For more information about the “IconList”, see
“Using the <IconList>”
on
page G-54
.
Содержание 53I
Страница 4: ......
Страница 18: ......
Страница 42: ......
Страница 438: ......
Страница 470: ......
Страница 476: ......
Страница 486: ......
Страница 502: ......
Страница 684: ......
Страница 688: ......
Страница 722: ...Sample Configuration Files D 34 41 001160 00 Release 2 1 Rev 04 IP Phone Administrator Guide Appendix D ...
Страница 724: ...Sample Configuration Files D 36 41 001160 00 Release 2 1 Rev 04 IP Phone Administrator Guide Appendix D ...
Страница 730: ......
Страница 734: ......
Страница 738: ......
Страница 817: ......