This document was generated from CDN thread
Created by: Sascha Monteiro on 03-11-2010 01:55:44 AM
Hi,
I need to have a ipphoneinput screen, but want(need) to know which softkey is pressed
i.e. have 2 softkeys "Action1" and "Action2"
it doesn't seem to be possible, has anyone struck this?
I don't want to present a menu first, and then the input...
--not working--
<CiscoIPPhoneInput>
<Title>test</Title>
<Prompt>test</Prompt>
<URL><%=thisPage%>&action=submit</URL>
<InputItem>
<DisplayName>your id</DisplayName>
<QueryStringParam>theid</QueryStringParam>
<InputFlags>N</InputFlags>
</InputItem>
<InputItem>
SoftKeyItem>
<Name>Action1</Name>
<URL>QueryStringParam:action=1</URL>
<Position>1</Position>
</SoftKeyItem>
<SoftKeyItem>
<Name>Action2</Name>
<URL>QueryStringParam:action=2</URL>
<Position>2</Position>
</SoftKeyItem>
</CiscoIPPhoneInput>
Subject: RE: add querystringparam with softkey on ipphoneinput
Replied by: Stephan Steiner on 09-11-2010 06:40:13 PM
The description of QueryStringParam in the developer guide seems to suggest that you can only use QueryStringParam is a replacement for an URL in a MenuItem of a CiscoIPPhoneMenu.
Since you're basically bypassing the standard submit, perhaps you could try to put the full url (<%=thisPage%>&action=submit&action=1 for the first and action=2 for the second) to each softkey.