永发信息网

java怎么传给ext值,ext怎么接收

答案:3  悬赏:10  手机版
解决时间 2021-03-20 08:45
  • 提问者网友:别再叽里呱啦
  • 2021-03-20 02:39
java怎么传给ext值,ext怎么接收
最佳答案
  • 五星知识达人网友:思契十里
  • 2021-03-20 03:05


function xJson(url) {
if (url != undefined && url != null) {
this.url = url;
} else {
this.url = jsonUrl;
}
// 页面上的信息在json中的映射,用于页面多次保存后的reset操作,相当于提交到服务后的信息的一个集合
this.jsonPage = {};

// 调用者传入的json对象
this.jsonSend = null;

// 发送到服务器的用于生成字符串的json对象
this.jsonSendClone = null;

// 每次发送到服务器的json信息
this.textSend = "";

// 解析服务器返回信息得到的json对象
this.jsonRecv = null;

// 每次从服务器获取到的json信息
this.textRecv = ""; this.httpRequest = this.getHttpRequest();
}
xJson.prototype = new xJsonTool;
xJson.prototype.handle = function (jsonSend) {
this.clear();
this.jsonSend = jsonSend;
this.parseSend();
this.send();
};
xJson.prototype.clear = function (jsonSend) {
this.jsonSendClone = null;
this.textSend = "";
this.jsonRecv = null;
this.textRecv = "";
}
xJson.prototype.parseSend = function () {
if (this.jsonSend.mode==0 || this.jsonSend.mode==1) { // 普通模式
var list = this.jsonSend.list;
for (var sqlid in list) {
var records = list[sqlid];
for(var i=0; i var form = records[i].form;
var data = records[i].data;
records[i].data = this.fillFormToData(form, data);
// for(var key in records[i].data) {
// var val = (records[i].data)[key];
// (records[i].data)[key] = this.encode64Escape(val);
// }
}
}
}
全部回答
  • 1楼网友:野慌
  • 2021-03-20 04:20
ExtJS是用 JSON传值的吧
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯