|
版本: |
X5.2.4 |
小版本号: |
|
|
|
数据库: |
Oracle |
服务器操作系统: |
Windows |
应用服务器: |
Tomcat |
客户端操作系统: |
Windows XP |
浏览器: |
Chrome |
|
|
在java 中创建一个返回值为Table 类型的action,在action 中向 table 中手动添加值,不是用的KSQL.Select() 的方法,步骤如下:
Table table =new Table();
Row row = table.appendRow();
row.setString("fName", fName);
row.setDateTime("fCreateTime", fCreateTime);
.... 然后在js 中接受该table的返回值放入data,代码:
var dAssetInM =justep.xbl("dAssetInM");
var param = new justep.Request.ActionParam();
param.setString("cid",concractID);
param.setString("ids", ids);
param.setString("fNO",dAssetInM.getValue("fNO"));
var res= justep.Request.sendBizRequest({
dataType: "json",
action: "getApplyAction",
parameters: param
});
if(res.state){
dAssetInM=res;
}
我的这段代码,是否正确?如不正确,请指出 |
|