【发布时间】:2015-01-27 17:49:55
【问题描述】:
我正在尝试将值从一个视图传递到另一个视图,下面是我迄今为止尝试过但没有运气的代码,
view1.js
var newWindow = Ext.create( 'newView', {"clickedRule" : clickedvalue} );
signerWindow.show();
newView.js
Ext.define('newView', {
extend : 'Ext.window.Window',
id : 'newWindow',
constructor : function (clickedRule){
Ext.applyIf(this, clickedRule);
this.callParent();
},
requires : ['Ext.form.Panel'],
title : 'Title Selection'+ this.clickedRule
});
我越来越不确定,非常感谢您的帮助。
提前致谢。
【问题讨论】: