• mockServerList
  • System defined defaults
  • Server wide defaults, read from sap-ui-config.json
  • Properties of the global configuration object window[“sap-ui-config”]
  • A configuration string in the data-sap-ui-config attribute of the bootstrap tag

Created by Jerry Wang, last modified on Sep 14, 2015

configuration.js的位置

Component Configuration.js - 所有支持属性列表 - configuration priority_优先级

configuration的优先级:

Component Configuration.js - 所有支持属性列表 - configuration priority_ide_02

例子

  • in the URL : sap-ui-PARAMETER-NAME=“value”
  • in the DOM : data-sap-ui-PARAMETER-NAME=“value”
  • where PARAMETER-NAME is the name of the parameter in lower case.
  • Values of boolean parameters are case insensitive where “true” and “x” are interpreted as true.
    所有支持的parameter列表:
    Component Configuration.js - 所有支持属性列表 - configuration priority_初始化_03
    准备初始化odataModel:
    Component Configuration.js - 所有支持属性列表 - configuration priority_初始化_04
    拿到application里的配置:
    Component Configuration.js - 所有支持属性列表 - configuration priority_UI5_05