cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
17
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Mert Guray on 01-04-2009 05:03:52 PM
Hi,
I have implemented a configurable Decision element.
In the settings tag i prefer the input parameter be extendable. So i defined it as:


<font size="2">
settingArray[2] =
</font>
new Setting("ContextDataName3", "ContextDataName3",<font size="2">
 
</font>
 
"  ", true, false, true,Setting.TEXTFIELD);
It is ok with the element.
When i use it in developing i can add new lines with the same name. But how can i read the inputs afterwards. It seems like it is anarray but the view is like it is adding with the same name.
I think it must be a little different from the line below:


<font size="2">
String DataName3 = config.getSettingValue(
</font>
"ContextDataName3", decisionData);

Subject: Re: New Message from Mert Guray in Customer Voice Portal (CVP) -General Dis
Replied by: Janine Graves on 01-04-2009 05:25:51 PM
In the doDecision use the method config.getSettingValues and it returns an array. Each entry of the array will match each entry from Studio settings tab.




Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: Cisco Developer Community Forums <cdicuser@developer.cisco.com>

Date: Wed, 1 Apr 2009 17:03:52
To: cdicuser@developer.cisco.com<cdicuser@developer.cisco.com>
Subject: New Message from Mert Guray in Customer Voice Portal (CVP) -
General Discussion - All Versions: Configurable Decision element


Mert Guray has created a new message in the forum "General Discussion - All Versions":

--------------------------------------------------------------
Hi,
I have implemented a configurable Decision element.
In the settings tag i prefer the input parameter be extendable. So i defined it as:


<font size="2">
settingArray[2] =
</font>
new Setting("ContextDataName3", "ContextDataName3",<font size="2">
 
</font>
 
"  ", true, false, true,Setting.TEXTFIELD);
It is ok with the element.
When i use it in developing i can add new lines with the same name. But how can i read the inputs afterwards. It seems like it is anarray but the view is like it is adding with the same name.
I think it must be a little different from the line below:


<font size="2">
String DataName3 = config.getSettingValue(
</font>
"ContextDataName3", decisionData);
--
To respond to this post, please click the following link:

<http://developer.cisco.com/web/cvp/forums/-/message_boards/message/1252750>

or simply reply to this email.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links