当前位置:网站首页>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
边栏推荐
- Luogup3694 Bangbang chorus standing in line
- Solve system has not been booted with SYSTEMd as init system (PID 1) Can‘t operate.
- 2022-02-13 plan for next week
- C graphical tutorial (Fourth Edition)_ Chapter 17 generic: genericsamplep315
- 这本数学书AI圈都在转,资深ML研究员历时7年之作,免费电子版可看
- Seven second order ladrc-pll structure design of active disturbance rejection controller
- C graphical tutorial (Fourth Edition)_ Chapter 13 entrustment: what is entrustment? P238
- Kotlin - improved decorator mode
- Sword finger offer 12 Path in matrix
- 【习题五】【数据库原理】
猜你喜欢

Idea full text search shortcut ctr+shift+f failure problem

【数据库原理复习题】

Seven second order ladrc-pll structure design of active disturbance rejection controller

Flink SQL knows why (13): is it difficult to join streams? (next)

剑指 Offer 14- II. 剪绳子 II

Flink SQL knows why (XV): changed the source code and realized a batch lookup join (with source code attached)

【R】【密度聚类、层次聚类、期望最大化聚类】
![[problem exploration and solution of one or more filters or listeners failing to start]](/img/82/e7730d289c4c1c4800b520c58d975a.jpg)
[problem exploration and solution of one or more filters or listeners failing to start]

Sword finger offer 12 Path in matrix

剑指 Offer 12. 矩阵中的路径
随机推荐
Will Huawei be the next one to fall
Logback 日志框架
[Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [sqlserver2012 comprehensive exercise]
[Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [Chapter 6 exercises]
【习题七】【数据库原理】
Sitescms v3.1.0 release, launch wechat applet
(latest version) WiFi distribution multi format + installation framework
剑指 Offer 11. 旋转数组的最小数字
Setting up Oracle datagurd environment
[Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [Chapter IV exercises]
开始报名丨CCF C³[email protected]奇安信:透视俄乌网络战 —— 网络空间基础设施面临的安全对抗与制裁博弈...
Social community forum app ultra-high appearance UI interface
Four problems and isolation level of MySQL concurrency
SQL learning notes (I)
C graphical tutorial (Fourth Edition)_ Chapter 15 interface: interfacesamplep271
[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
Flink SQL knows why (XV): changed the source code and realized a batch lookup join (with source code attached)
Sword finger offer 17 Print from 1 to the maximum n digits
Gan totem column bridgeless boost PFC (single phase) seven PFC duty cycle feedforward
Elk note 24 -- replace logstash consumption log with gohangout