【发布时间】:2013-07-25 07:39:00
【问题描述】:
我想将参数从应用程序传递给适配器;我希望应用的用户输入这些选项。
现在我在适配器中传递这样的参数:
function getFeeds() {
WL.Logger.debug("inside method");
var input = {
method : 'get',
returnedContentType : 'json',
path : "ios/clientRegister.php",
parameters:{
"employeenumber":"500","employeename":"Harish","employeeemail":"anand5@gmail.com","city":"Delhi",
"employeeadID":"an6458","businessUnit":"WASE","country":"India","city":"Bengaluru","location":"EC4","bloodGroup":"B+ve", "gender":"Male","tShirt":"xl"
}
};
return WL.Server.invokeHttp(input);
}
【问题讨论】:
标签: javascript ibm-mobilefirst worklight-adapters