extjs页面之间传递的参数
下面是代码:
var col=new Ext.grid.ColumnModel([
new Ext.grid.RowNumberer(),
{header: "主叫号码", sortable: true, dataIndex: 'callingnum',renderer:url_open,width:135},
{header: "开始时间", sortable: true, dataIndex: 'btime',width:135},
{header: "结束时间", sortable: true, dataIndex: 'etime',width:135},
{header: "protoclid", hidden:true, sortable: true, dataIndex: 'protocolid',width:50},
{header: "被叫号码", hidden:true, sortable: true, dataIndex: 'callednum',width:135},
{header: "漫游号码", sortable: true, dataIndex: 'msrn',width:135},
{header: "源点码", hidden:false, sortable: true, dataIndex: 'opc',width:100},
{header: "目标点码", hidden:false, sortable: true, dataIndex: 'dpc',width:100},
{header: "源IP", hidden:false, sortable: true, dataIndex: 'oaddresss',width:100},
{header: "目标IP", hidden:false, sortable: true, dataIndex: 'daddresss',width:100},
{header: "呼叫时长", sortable: true, dataIndex: 'seizuredur',width:100}
]);
columnModel的对象中有一列为主叫号码。renderer:url方法为url_open
function url_open(v,m,r) {
v='<a target=_blank href="../interprovincial_cdr/interprovincial_cdr.jsp?btime='+r.get('btime')
+'&callingnum='+r.get("callingnum")+'&msrn='+r.get('msrn')
+'&province1='+Ext.getCmp('provinceId1').getValue()
+'&province2='+Ext.getCmp('provinceId2').getValue()+'">'+v+'</a>';
return v;
};
就是要给inteprovincial_cdr.jsp传递参数。那inteprovicical_cdr.jsp 中等的extjs如何获取参数。btime callingnum ......等等。
注释:我在页面中的Url已经有参数了,就是不知道extjs的js如何获取传过来的参数.
相关推荐
ExtJS 资料收集
ExtJS 开发过程中肯关的资料收集,主要是Extjs 4中的知识点!
Extjs与PHP间的数据交互:通过Ajax传递参数
在设计Extjs与PHP的交互应用时,首先需要确定业务需求和功能模块。例如,用户注册系统需包括输入验证、信息加密、数据库交互等环节;而在线商店的商品展示则需要考虑如何高效地从数据库中检索和分页显示商品信息。设计思路应包括以下几个关键点:用户界面设计:使用Extjs创建丰富而直观的用户界面。前后端分离:确保前端页面与后端逻辑分离,提高代码的可维护性和可扩展性。安全性考虑:对敏感信息进行加密处理,合理验证用户输入防止SQL注入等攻击。响应式设计。
ExtJS 使用Flash上传
ExtJS 使用Flash上传图片,上传之前可以预览,自动缩放,自定义提交地址和按钮文本。
ExtJs 与 Structs2交互的几大总结
NULL 博文链接:https://peter2009.iteye.com/blog/1140596
Extjs列表详细信息窗口新建后自动加载解决方法
在Extjs中,在当前页面的grid页新建了一行数据后,通过表单形式进入详细页面的编辑,此时,为了能让页面自动打开详细页面编辑,我花了三个小时,终于找到了在Extjs下最合适的方案,结果却只有三句话,我想,这可能也是很多Extjs爱好者们想要知道或者已经知道的,为此,将其与大家分享,只求为extjs群体贡献自己的一些想法。 列表在创建后,一般会有一个提示,现在我把我最开始的几个思路与大家讲讲,想直接看结果的可以跳到最后一套方案~ 方案1(放弃). 在新建数据后,向createform方法传送一个id值。这可能是普通搞web的大虾们最先想到的方法,通过传参给一个detail页,然后detail根


