Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
passing multiple params to a call server
System
Hi all,
i have such kind of code :
for(vu_J=0;vu_J<vu_Temp.length;vu_J++)
{
alert(vu_Temp[vu_J].getName());
var item = IWDatacapture.getItem(vu_Temp[vu_J].getName()+"/Desc");
var itemsize = IWDatacapture.getItem(vu_Temp[vu_J].getName()+"/category");
Att_Array[vu_J] = item.getValue();
if(itemsize.getValue() == ""){
params.vu_J = item.getValue();
}
}
...............
params.vpath = parent.gWorkarea;
IWDatacapture.callServer("http://"+server+":8089/iw-bin/iw_cgi_wrapper.cgi/getAtt.cgi", params,true);
weel as u can see i wanna pass parameters depending on their value on the dct ( see : if(itemsize.getValue() == ""){
params.vu_J = item.getValue();
) the problem is that i duno have params.0/params1/ params.2/ etc ...sent with the post request but always params.vu_J ....how could i pass dynamically parameters
thanks
Find more posts tagged with
Comments
There are no comments yet