Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- showingMasterAccountCRUD: SC.State.design({
- initialSubstate: 'showingCRUDList',
- //*
- containerView2Binding: 'HNTPortal.mainPage.mainPane.mainView.contentView.crudContainerView',
- //*/
- //*
- containerView: function() {
- return SC.objectForPropertyPath(this.get('containerViewPath'));
- }.property('containerViewPath').cacheable(),
- containerViewPath: 'HNTPortal.mainPage.mainPane.mainView.contentView.crudContainerView',
- //*/
- crudViewPath: 'HNTPortal.adminMasterAccountCRUDView',
- enterState: function() {
- console.log(this.getPath('containerView'));
- console.log(this.getPath('containerView2'));
- console.log(this.getPath('containerView.parentView'));
- console.log(this.getPath('containerView2.parentView'));
- console.log(this.getPath('containerView.parentView.parentView'));
- console.log(this.getPath('containerView2.parentView.parentView'));
- this.setPath('containerView.nowShowing', this.get('crudViewPath'));
- },
- [...]
- -----------------
- OUTPUT:
- -----------------
- SC.ContainerView:sc767 { __sc_super__=SC.ContainerView:sc1196, _kvo_cloned={...}, layout={...}, mehr...}
- javasc...cked.js (Zeile 23)
- SC.ContainerView:sc1196 { __sc_super__=SC.ContainerView:sc1196, _kvo_cloned={...}, layout={...}, mehr...}
- javasc...cked.js (Zeile 23)
- SC.View:sc769 { __sc_super__=SC.View:sc1197, _kvo_cloned={...}, childViews=[2], mehr...}
- javasc...cked.js (Zeile 23)
- SC.View:sc1197 { __sc_super__=SC.View:sc1197, _kvo_cloned={...}, childViews=[2], mehr...}
- javasc...cked.js (Zeile 23)
- SC.ContainerView:sc1196 { __sc_super__=SC.ContainerView:sc1196, _kvo_cloned={...}, layout={...}, mehr...}
- javasc...cked.js (Zeile 23)
- null
Add Comment
Please, Sign In to add comment