当前位置:网站首页>106. 如何提高 SAP UI5 应用路由 url 的可读性
106. 如何提高 SAP UI5 应用路由 url 的可读性
2022-07-03 12:34:00 【汪子熙】
本教程前一步骤 SAP UI5 应用开发教程之一百零五 - SAP UI5 Master-Detail 布局模式的联动效果实现明细介绍 我们已经实现了一个典型的符合 Master-Detail 页面布局的 SAP UI5 应用,效果如下 gif 动图所示:
这个应用还有很多瑕疵。
比如我们点击列表里第一个行项目,该行项目的产品 id 为 HT-2001
, 但是浏览器地址栏 detail
后面的片段为 94
,这就非常让用户疑惑了。因为如果这个 94 代表产品索引的话,我们点击了列表第一个行项目,其索引值应该为 0 才对,这个 94 是从什么地方来的?
先介绍下本步骤实现的效果:我们想提高点击行项目之后,渲染的明细页面 url 的可读性。
按照该步骤完成开发后,达成的效果是,点击行项目之后,行项目的产品 id 出现在地址栏里,下面是一个例子:
http://localhost:8080/webapp/index.html#/detail/HT-1000/TwoColumnsMidExpanded
边栏推荐
- 2022-01-27 redis cluster cluster proxy predixy analysis
- 【数据库原理及应用教程(第4版|微课版)陈志泊】【第五章习题】
- Sword finger offer 12 Path in matrix
- SSH登录服务器发送提醒
- How to get user location in wechat applet?
- CVPR 2022 image restoration paper
- Glide question you cannot start a load for a destroyed activity
- Quickly learn member inner classes and local inner classes
- Luogup3694 Bangbang chorus standing in line
- [Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [Chapter III exercises]
猜你喜欢
My creation anniversary: the fifth anniversary
Huffman coding experiment report
【数据库原理及应用教程(第4版|微课版)陈志泊】【SQLServer2012综合练习】
Sword finger offer 14- ii Cut rope II
[Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [Chapter IV exercises]
Method overloading and rewriting
Grid connection - Analysis of low voltage ride through and island coexistence
Brief introduction to mvcc
[Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [sqlserver2012 comprehensive exercise]
[comprehensive question] [Database Principle]
随机推荐
[Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [sqlserver2012 comprehensive exercise]
(latest version) WiFi distribution multi format + installation framework
【数据库原理复习题】
Analysis of the influence of voltage loop on PFC system performance
【习题六】【数据库原理】
Kotlin - 改良装饰者模式
Kotlin notes - popular knowledge points asterisk (*)
Flink SQL knows why (XI): weight removal is not only count distinct, but also powerful duplication
35道MySQL面试必问题图解,这样也太好理解了吧
C graphical tutorial (Fourth Edition)_ Chapter 15 interface: interfacesamplep268
18W word Flink SQL God Road manual, born in the sky
Understanding of CPU buffer line
【数据库原理及应用教程(第4版|微课版)陈志泊】【第五章习题】
Export the entire Oracle Database
【R】 [density clustering, hierarchical clustering, expectation maximization clustering]
【数据库原理及应用教程(第4版|微课版)陈志泊】【第七章习题】
Grid connection - Analysis of low voltage ride through and island coexistence
[combinatorics] permutation and combination (the combination number of multiple sets | the repetition of all elements is greater than the combination number | the derivation of the combination number
Glide question you cannot start a load for a destroyed activity
剑指 Offer 12. 矩阵中的路径