如何在一个项目中拥有多个应用程序?

2020-09-04 15:45发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


嗨,

我在一个项目中如何拥有多个应用程序?

这个想法是让整页的Google地图带有标记为"着陆页"的标记(当前视图还具有控件)。
如果您单击地图上的标记,则应将其带入splitApp,我们将在其中显示一些信息。

但是,我认为在一个项目中使用会引起一些问题。

如何在同一项目中使用两个控件?

App.View(起始页)

 
 
 
 <页面>
 
 <内容>
  
 
 
 
 
 
 
 

Split.View(splitApp)

 
 
 
 
 

manifest.json

 {
 " _version":" 1.12.0",
 " sap.app":{
 " id":" hogweed.hogweedmd",
 " type":"应用程序",
 " i18n":" i18n/i18n.properties",
 " applicationVersion":{
 " version":" 1.0.0"
 },
 " title":" {{appTitle}}",
 " description":" {{appDescription}}",
 " sourceTemplate":{
 " id":" ui5template.basicSAPUI5ApplicationProject",
 "版本":" 1.40.12"
 }
 },
 " sap.ui":{
 " technology":" UI5",
 "图标":{
 " icon":"",
 " favIcon":"",
 "电话": "",
 " phone @ 2":"",
 " tablet":"",
 " tablet @ 2":""
 },
 " deviceTypes":{
 "桌面":是的,
 "平板电脑":是的,
 "电话":正确
 }
 },
 " sap.ui5":{
 " flexEnabled":否,
 " rootView":{
 " viewName":" hogweed.hogweedmd.view.App",
 " type":" XML",
 "异步":是的,
 " id":" App"
 },
 "依赖关系":{
 " minUI5Version":" 1.60.1",
 " libs":{
 " sap.ui.layout":{},
 " sap.ui.core":{},
 " sap.m":{}
 }
 },
 " contentDensities":{
 "紧凑":是的,
 "舒适":错误
 },
 "楷模": {
 " i18n":{
 " type":" sap.ui.model.resource.ResourceModel",
 "设置":{
 " bundleName":" hogweed.hogweedmd.i18n.i18n"
 }
 }
 },
 "资源":{
 " css":[{
 " uri":" css/style.css"
 }]
 },
 "路由":{
 " config":{
 " routerClass":" sap.m.routing.Router",
 " viewType":" XML",
 "异步":是的,
 " viewPath":" hogweed.hogweedmd.view",
 " controlAggregation":"页面",
 " controlId":" app",
 " clearControlAggregation":否,
 "绕过":{
 " target":[" Master"]
 }
 },
 "路线":[{
 " name":" TargetApp",
 " pattern":" RouteApp",
 " target":[" TargetApp"]
 },{
 " name":" Master",
 " pattern":"",
 " titleTarget":"",
 " greedy":错误,
 " target":[" Master"]
 },{
 " name":"详细信息",
 " pattern":"数据/{路径}",
 " titleTarget":"",
 " greedy":错误,
 "目标":["详细信息"]
 },{
 " name":" Split",
 " pattern":" splitView",
 " titleTarget":"",
 " greedy":错误,
 " target":[" Split"]
 }],
 "目标":{
 " TargetApp":{
 " viewType":" XML",
 " transition":" slide",
 " clearControlAggregation":否,
 " viewId":" App",
 " viewName":" App"
 },
 "主人":{
 " viewType":" XML",
 " viewName":"大师",
 " controlAggregation":" masterPages"
 },
 "详细信息":{
 " viewType":" XML",
 " viewName":"详细信息",
 " controlAggregation":" detailPages"
 },
 "分裂": {
 " viewType":" XML",
 " viewName":"拆分",
 " viewId":"拆分"
 }
 }
 }
 }
 }
 

当然还有Master- and Detail.view,我认为这不重要。

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


嗨,

我在一个项目中如何拥有多个应用程序?

这个想法是让整页的Google地图带有标记为"着陆页"的标记(当前视图还具有控件)。
如果您单击地图上的标记,则应将其带入splitApp,我们将在其中显示一些信息。

但是,我认为在一个项目中使用会引起一些问题。

如何在同一项目中使用两个控件?

App.View(起始页)

 
 
 
 <页面>
 
 <内容>
  
 
 
 
 
 
 
 

Split.View(splitApp)

 
 
 
 
 

manifest.json

 {
 " _version":" 1.12.0",
 " sap.app":{
 " id":" hogweed.hogweedmd",
 " type":"应用程序",
 " i18n":" i18n/i18n.properties",
 " applicationVersion":{
 " version":" 1.0.0"
 },
 " title":" {{appTitle}}",
 " description":" {{appDescription}}",
 " sourceTemplate":{
 " id":" ui5template.basicSAPUI5ApplicationProject",
 "版本":" 1.40.12"
 }
 },
 " sap.ui":{
 " technology":" UI5",
 "图标":{
 " icon":"",
 " favIcon":"",
 "电话": "",
 " phone @ 2":"",
 " tablet":"",
 " tablet @ 2":""
 },
 " deviceTypes":{
 "桌面":是的,
 "平板电脑":是的,
 "电话":正确
 }
 },
 " sap.ui5":{
 " flexEnabled":否,
 " rootView":{
 " viewName":" hogweed.hogweedmd.view.App",
 " type":" XML",
 "异步":是的,
 " id":" App"
 },
 "依赖关系":{
 " minUI5Version":" 1.60.1",
 " libs":{
 " sap.ui.layout":{},
 " sap.ui.core":{},
 " sap.m":{}
 }
 },
 " contentDensities":{
 "紧凑":是的,
 "舒适":错误
 },
 "楷模": {
 " i18n":{
 " type":" sap.ui.model.resource.ResourceModel",
 "设置":{
 " bundleName":" hogweed.hogweedmd.i18n.i18n"
 }
 }
 },
 "资源":{
 " css":[{
 " uri":" css/style.css"
 }]
 },
 "路由":{
 " config":{
 " routerClass":" sap.m.routing.Router",
 " viewType":" XML",
 "异步":是的,
 " viewPath":" hogweed.hogweedmd.view",
 " controlAggregation":"页面",
 " controlId":" app",
 " clearControlAggregation":否,
 "绕过":{
 " target":[" Master"]
 }
 },
 "路线":[{
 " name":" TargetApp",
 " pattern":" RouteApp",
 " target":[" TargetApp"]
 },{
 " name":" Master",
 " pattern":"",
 " titleTarget":"",
 " greedy":错误,
 " target":[" Master"]
 },{
 " name":"详细信息",
 " pattern":"数据/{路径}",
 " titleTarget":"",
 " greedy":错误,
 "目标":["详细信息"]
 },{
 " name":" Split",
 " pattern":" splitView",
 " titleTarget":"",
 " greedy":错误,
 " target":[" Split"]
 }],
 "目标":{
 " TargetApp":{
 " viewType":" XML",
 " transition":" slide",
 " clearControlAggregation":否,
 " viewId":" App",
 " viewName":" App"
 },
 "主人":{
 " viewType":" XML",
 " viewName":"大师",
 " controlAggregation":" masterPages"
 },
 "详细信息":{
 " viewType":" XML",
 " viewName":"详细信息",
 " controlAggregation":" detailPages"
 },
 "分裂": {
 " viewType":" XML",
 " viewName":"拆分",
 " viewId":"拆分"
 }
 }
 }
 }
 }
 

当然还有Master- and Detail.view,我认为这不重要。

付费偷看设置
发送

一周热门 更多>