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

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


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

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


UI Inheritance hierarchy:

 

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


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

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





上一篇:Component Configuration.js - 所有支持属性列表 - configuration priority


下一篇:A good debug parameter - sap-ds-debug=true