当前位置:网站首页>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
边栏推荐
- Flink SQL knows why (13): is it difficult to join streams? (next)
- Sword finger offer 11 Rotate the minimum number of the array
- Deeply understand the mvcc mechanism of MySQL
- 2022-01-27 redis cluster technology research
- 2022-02-14 incluxdb cluster write data writetoshard parsing
- 【R】【密度聚类、层次聚类、期望最大化聚类】
- Create a dojo progress bar programmatically: Dojo ProgressBar
- 18W word Flink SQL God Road manual, born in the sky
- When we are doing flow batch integration, what are we doing?
- Glide 4.6.1 API initial
猜你喜欢
Flick SQL knows why (10): everyone uses accumulate window to calculate cumulative indicators
我的创作纪念日:五周年
When we are doing flow batch integration, what are we doing?
Finite State Machine FSM
已解决(机器学习中查看数据信息报错)AttributeError: target_names
18W word Flink SQL God Road manual, born in the sky
对业务的一些思考
The upward and downward transformation of polymorphism
Seven habits of highly effective people
(latest version) WiFi distribution multi format + installation framework
随机推荐
Flink SQL knows why (XV): changed the source code and realized a batch lookup join (with source code attached)
The latest version of lottery blind box operation version
Flink SQL knows why (XIV): the way to optimize the performance of dimension table join (Part 1) with source code
regular expression
【数据挖掘复习题】
Deeply understand the mvcc mechanism of MySQL
[review questions of database principles]
The upward and downward transformation of polymorphism
Flink SQL knows why (VIII): the wonderful way to parse Flink SQL tumble window
这本数学书AI圈都在转,资深ML研究员历时7年之作,免费电子版可看
【历史上的今天】7 月 3 日:人体工程学标准法案;消费电子领域先驱诞生;育碧发布 Uplay
Oracle memory management
Kotlin notes - popular knowledge points asterisk (*)
[problem exploration and solution of one or more filters or listeners failing to start]
Loan calculator my pressure is high
2022-01-27 redis cluster brain crack problem analysis
Four problems and isolation level of MySQL concurrency
CVPR 2022 图像恢复论文
SLF4J 日志门面
01 three solutions to knapsack problem (greedy dynamic programming branch gauge)