整版主详细信息未按预期显示

2020-09-14 09:20发布

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

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


Iam使用splitapp创建主要细节,但iam很难带来预期的结果。 我已附上预期和实际结果快照

我提供了App,Master和Detail快照,这是我的路由代码

"路由":{"配置":{" routerClass":" sap.m.routing.Router"," viewPath":" com.exalca.basicBasic.view"," viewType":" XML"," controlId":" id_Root"," controlAggregation":"页面"," viewLevel":1}," targets":{" Page1":{" viewType":" XML"," transition":" slide"," clearAggregation ":true," viewName":" Page1"," viewLevel":1," controlId":" id_Root"," controlAggregation":" pages"}," Master":{" viewType":" XML","过渡 ":" slide"," clearAggregation":true," viewName":" Master"," viewLevel":2," controlAggregation":" masterPages"," controlId":" id_SplitApp"," parent":" splitview", " viewId":" master"}," Detail":{" viewType":" XML"," transition":" slide"," clearAggregation":true," viewName":" Detail"," viewLevel":3, " controlId":" id_SplitApp"," controlAggregation":" detailPages"," parent":" splitview"," viewId":" detail"}," splitview":{" viewName":" SplitApp"}},"路由 ":[{"名称":" Page1","模式":"","贪心":假,"目标":[" Page1"]},{"名称":"分割","模式": " Split"," greedy":否," target":[" Master"," Detail"]},{" name":" Detail"," pattern":" Detail/{contextPath}"," greedy": false," target":[" Master"," Detail"]},{" name":" Master"," pattern":" Master"," greedy":false," target":[" Master"]} ]

actualresults.jpg

expectedresults.jpg

appview.jpg

detailview.jpg

masterview.jpg


actualresults.jpg (26.2 kB)

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

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


Iam使用splitapp创建主要细节,但iam很难带来预期的结果。 我已附上预期和实际结果快照

我提供了App,Master和Detail快照,这是我的路由代码

"路由":{"配置":{" routerClass":" sap.m.routing.Router"," viewPath":" com.exalca.basicBasic.view"," viewType":" XML"," controlId":" id_Root"," controlAggregation":"页面"," viewLevel":1}," targets":{" Page1":{" viewType":" XML"," transition":" slide"," clearAggregation ":true," viewName":" Page1"," viewLevel":1," controlId":" id_Root"," controlAggregation":" pages"}," Master":{" viewType":" XML","过渡 ":" slide"," clearAggregation":true," viewName":" Master"," viewLevel":2," controlAggregation":" masterPages"," controlId":" id_SplitApp"," parent":" splitview", " viewId":" master"}," Detail":{" viewType":" XML"," transition":" slide"," clearAggregation":true," viewName":" Detail"," viewLevel":3, " controlId":" id_SplitApp"," controlAggregation":" detailPages"," parent":" splitview"," viewId":" detail"}," splitview":{" viewName":" SplitApp"}},"路由 ":[{"名称":" Page1","模式":"","贪心":假,"目标":[" Page1"]},{"名称":"分割","模式": " Split"," greedy":否," target":[" Master"," Detail"]},{" name":" Detail"," pattern":" Detail/{contextPath}"," greedy": false," target":[" Master"," Detail"]},{" name":" Master"," pattern":" Master"," greedy":false," target":[" Master"]} ]

actualresults.jpg

expectedresults.jpg

appview.jpg

detailview.jpg

masterview.jpg


actualresults.jpg (26.2 kB)
付费偷看设置
发送
4条回答
jovirus
1楼-- · 2020-09-14 10:09

在此示例中,首先显示"详细信息","主"充当菜单。 在您的代码中,首先显示Page1,然后显示" Master"(第二),然后显示" Detail"(详细信息)。

Page1的用途是什么? 删除Page1,将" Detail"作为第一页

四川大学会员
2楼-- · 2020-09-14 10:00

这是Master和Detail页面的错误顺序。 尝试按照我说的做,将"详细信息"设置为应用程序的默认页面,也称为第一页。

三十六小时_GS
3楼-- · 2020-09-14 10:06

嗨,萨加尔,我在一段时间前就遇到了这个问题。 博客。.希望您能从中受益

https://博客。 sap.com/2017/01/09/7-tips-for-your-sapui5-mobile-app /

祝你好运!

蓋茨
4楼-- · 2020-09-14 10:04

sagar,请阅读博客,您将找到答案。

一周热门 更多>