zl程序教程

您现在的位置是:首页 >  前端

当前栏目

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

XML to The View How load Change Default
2023-09-14 09:02:42 时间

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的原创文章,请关注公众号"汪子熙":