How to change the default S2.view.xml load logic

71 阅读1分钟

Created by Jerry Wang, last modified on Mar 24, 2015

  • this._mRouting.config
  • sap.m.routing.RoutMatchedHandler
  • oServiceConfig
  • getMetadata().getConfig
  • serviceConfig
  • serviceUrl
  • _getAndMergeEntry

Even after we hard code the route information in our Component.js like below, it still does not work:

router._oRoutes.masterDetail._oConfig.subroutes.master. view = "JerryMaster";

 

UI Inheritance hierarchy: 

   

sap.ui.core.UIComponent->sap.ca.scfld.md.ComponentBase->FioriTest.Component

 

\

 

因此还是S2(因为parent component里定义的是S2):

要获取更多Jerry的原创文章,请关注公众号"汪子熙":