天天看點

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 logic
How 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 logic
How to change the default S2.view.xml load logic
How to change the default S2.view.xml load logic
How to change the default S2.view.xml load logic

繼續閱讀