我有附加到APP的区域。嵌入布局访问子区域
iApp.addRegions({
sregion : "#sregion"
});
该区域被附接到布局基本上是应用程序的布局,其具有inturn区域
var iLayout = Marioneete.Layout.extend({
template : LayoutTemplate,
regions : {
mainheader : "#mainheader",
menu : "#mainmenu",
content : "#mcontent"
}
最后区域(内容)被再次布局
template : MainContentLayout,
regions : {
contentmainheader : "#headmain",
cotenttable : "#tablecontainer",
cotentdetailer : "#issuedetailer"
}
});
我在控制器通过存储this.applayout主页面事件,以便我可以访问其他事件发生时的视图,如下所示。
var MyApp = require('mapp');
mlayout = new AppLayout();
MyApp.sregion.show(mlayout);
this.applayout = mlayout;
在所选择项同一个控制器点击我试图访问其他“内容详图”,如下这是行不通的。
this.applayout.content.cotentdetailer.show(new SelectedIssue({id:options}));
我们如何真正从主区域/布局访问嵌套视图?我没有看到这方面的任何方法?