$(function(){
$("#istoCancel").click(function(){
$.getJSON("${ctx}/learning/webexSystem/webex/remove/${runclassid}", function(json){
if(json.result==false){
alert(json.message);
return ;
}
window.location.reload();
});
});
});
@RequestMapping(value = {"webex/remove/cancelPage/{runclassid}"})
public String toCancelPopPage(Model model,@PathVariable String runclassid){
model.addAttribute("runclassid",runclassid);
return "learning/webex/cancelPop";
}
@RequestMapping(value = {"webex/remove/{runclassid}"})
@ResponseBody
public String removeClassInfo(@PathVariable String runclassid){
Map<String,Object> backParam=new HashMap<String,Object>();
try{
this.teachRuntimeClassroomService.removeRunClass(runclassid);
backParam.put(MessageConstents.tip_key_result, true);
}catch(Exception ex){
backParam.put(MessageConstents.tip_key_result, false);
backParam.put(MessageConstents.tip_key_message, MessageConstents.FAIL_OPERATOR_USER);
}
JSONObject json = JSONObject.fromObject(backParam);
return json.toString();
}
//删除 提示层
$('.overlay_delete').live("click",function(e) {
e.preventDefault();
var runclsid=$(this).attr("clsid");
$.fn.nyroModalManual({
width:400,
title:"取消操作",
url: '${ctx }/learning/webexSystem/webex/remove/cancelPage/'+runclsid+".ajax"
});
return false;
});
分享到:
相关推荐
json使用大全json使用大全json使用大全json使用大全json使用大全json使用大全json使用大全json使用大全json使用大全json使用大全json使用大全json使用大全
json使用教程
json 使用资料json 使用资料json 使用资json 使用资料料
java使用superMap解析DWG文件为json输出,本地通过,附件中为word操方式按照步骤可以导入数据集
android json使用方法,使用json完成java与c++数据封装传输
Json格式使用需要使用的依赖包,这里给提供,使用时导入,避免大家的查找麻烦
json使用联系,包括序列化的使用以及在socket中的一点应用,使用linux下c++编写
json lib net.sf.json使用的所有jar包,不用找jar包了。json lib是很好的json解析工具类。
C# JSON库 Newtonsoft.Json 使用范例源码(双向动态生成,无需事先定义类): 1. 将字典类型序列化成Json字符串 2. 将Json字符串,反序列化成字典类型 3. 动态添加字典类型并序列化为Json字符串 4. 根据Json字符...
json使用样类,c++代码demo,使用c++进行json协议通信,测试可用
Json 使用简单实例 c++ 版,内含 VS2008 工程文件
linux下的json格式数据打包与解析,可用于网络交互,比较容易上手。
NULL 博文链接:https://liujianeye.iteye.com/blog/1150049
主要是json使用时要用到的jar包,里面我做了一些和Struts2整合时遇到jar包冲突问题时的解决办法简介
把网上所有关于Newtonsoft.Json使用方法进行了总结,里面包括Json的序列化和发序列化,还有日期的处理。希望对大家有用。
java配合json使用的JAR,版本配套9个JAR
net.sf.json使用的lib(包括依赖lib) 1.commons-lang.jar 2.commons-beanutils.jar 3.commons-collections.jar 4.commons-logging.jar 5.ezmorph.jar 6.json-lib-2.2.2-jdk15.jar
json使用-bookmanager
第六章 Caché JSON 使用JSON适配器
json object string 使用开发说明