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

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

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

clipboard1

clipboard2

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";

clipboard3

clipboard4

 
UI Inheritance hierarchy: 
   
sap.ui.core.UIComponent->sap.ca.scfld.md.ComponentBase->FioriTest.Component
 

 
So it is S2 (because the parent component is defined in S2):

clipboard5

clipboard6

clipboard7

clipboard8

clipboard9

Guess you like

Origin blog.csdn.net/i042416/article/details/93304118
Recommended