Querystringparam - Cisco OL-18696-01 Development Manual

Unified ip phone services application development notes
Table of Contents

Advertisement

XML Displayable Object URIs
URI Format
QueryStringParam:d
Where
d = the data to be appended to a corresponding URL.
Example 4-1
<CiscoIPPhoneMenu>
<Title>Message List</Title>
<Prompt>Two Messages</Prompt>
<MenuItem>
</MenuItem>
<MenuItem>
</MenuItem>
<SoftKeyItem>
</SoftkeyItem>
<SoftKeyItem>
</SoftkeyItem>
</CiscoIPPhoneMenu>
Example 4-1
CiscoIPPhoneMenu
MenuItem(s) with the numeric keypad, the cursor moves to that entry, but nothing executes because the
values are QueryStringParam URIs.
If the user presses either custom softkey, the currently highlighted MenuItem URI value gets appended
to the softkey URL that was pressed and requested from the web server.
If you highlight the first MenuItem and press the Read softkey, the phone generates the following URL:
http://server//read.asp?message=1
Example 4-2
<CiscoIPPhoneMenu>
<Title>Message List</Title>
<Prompt>Two Messages</Prompt>
<MenuItem>
</MenuItem>
<MenuItem>
</MenuItem>
<SoftKeyItem>
</SoftKeyItem>
<SoftKeyItem>
Cisco Unified IP Phone Services Application Development Notes
4-6
QueryStringParam URI in a CiscoIPPhoneMenu object
<Name>Message One</Name>
<URL>QueryStringParam:message=1</URL>
<Name>Message Two</Name>
<URL>queryStringParam:message=2</URL>
<Name>Read</Name>
<URL>http://server/read.asp</URL>
<Name>Delete</Name>
<URL>http://server/delete.asp</URL>
shows how to use the QueryStringParam URI in a
object includes two MenuItems with QueryStringParam URIs. If the user chooses the
Selecting an Item with Numeric Keypad Calls the URL
<Name>Messae One</Name>
<URL>http://server/messages.asp?message=1</URL>
<Name>Messae Two</Name>
<URL>http://server/messages.asp?message=2</URL>
<Name>Read</Name>
<Position>1</Position><URL>QueryStringParam:action=read</URL>
<Name>Delete</Name>
<Position>2</Position><URL>QueryStringParam:action=delete</URL>
Chapter 4
Internal URI Features
object. The
CiscoIPPhoneMenu
OL-18696-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

7900 series

Table of Contents