Guest User

Untitled

a guest
May 22nd, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.   showingMasterAccountCRUD: SC.State.design({
  3.     initialSubstate: 'showingCRUDList',
  4.  
  5. //*    
  6.     containerView2Binding: 'HNTPortal.mainPage.mainPane.mainView.contentView.crudContainerView',
  7. //*/
  8.  
  9. //*
  10.     containerView: function() {
  11.       return SC.objectForPropertyPath(this.get('containerViewPath'));
  12.     }.property('containerViewPath').cacheable(),
  13.     containerViewPath: 'HNTPortal.mainPage.mainPane.mainView.contentView.crudContainerView',
  14. //*/
  15.    
  16.     crudViewPath: 'HNTPortal.adminMasterAccountCRUDView',
  17.    
  18.     enterState: function() {
  19.       console.log(this.getPath('containerView'));
  20.       console.log(this.getPath('containerView2'));
  21.       console.log(this.getPath('containerView.parentView'));
  22.       console.log(this.getPath('containerView2.parentView'));
  23.       console.log(this.getPath('containerView.parentView.parentView'));
  24.       console.log(this.getPath('containerView2.parentView.parentView'));
  25.       this.setPath('containerView.nowShowing', this.get('crudViewPath'));
  26.     },
  27.  
  28.  
  29. [...]
  30.  
  31. -----------------
  32. OUTPUT:
  33. -----------------
  34.  
  35. SC.ContainerView:sc767 { __sc_super__=SC.ContainerView:sc1196, _kvo_cloned={...}, layout={...}, mehr...}
  36. javasc...cked.js (Zeile 23)
  37. SC.ContainerView:sc1196 { __sc_super__=SC.ContainerView:sc1196, _kvo_cloned={...}, layout={...}, mehr...}
  38. javasc...cked.js (Zeile 23)
  39. SC.View:sc769 { __sc_super__=SC.View:sc1197, _kvo_cloned={...}, childViews=[2], mehr...}
  40. javasc...cked.js (Zeile 23)
  41. SC.View:sc1197 { __sc_super__=SC.View:sc1197, _kvo_cloned={...}, childViews=[2], mehr...}
  42. javasc...cked.js (Zeile 23)
  43. SC.ContainerView:sc1196 { __sc_super__=SC.ContainerView:sc1196, _kvo_cloned={...}, layout={...}, mehr...}
  44. javasc...cked.js (Zeile 23)
  45. null
Add Comment
Please, Sign In to add comment