当前位置:网站首页>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
边栏推荐
- Brief introduction to mvcc
- Seven second order ladrc-pll structure design of active disturbance rejection controller
- The difference between session and cookie
- Luogup3694 Bangbang chorus standing in line
- Cache penetration and bloom filter
- [Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [sqlserver2012 comprehensive exercise]
- Node. Js: use of express + MySQL
- When we are doing flow batch integration, what are we doing?
- [exercise 5] [Database Principle]
- Kotlin notes - popular knowledge points asterisk (*)
猜你喜欢
【R】 [density clustering, hierarchical clustering, expectation maximization clustering]
解决 System has not been booted with systemd as init system (PID 1). Can‘t operate.
My creation anniversary: the fifth anniversary
【数据库原理及应用教程(第4版|微课版)陈志泊】【第六章习题】
Method overloading and rewriting
Integer case study of packaging
Sitescms v3.1.0 release, launch wechat applet
elk笔记24--用gohangout替代logstash消费日志
OpenHarmony应用开发之ETS开发方式中的Image组件
【数据库原理及应用教程(第4版|微课版)陈志泊】【第三章习题】
随机推荐
Gan totem column bridgeless boost PFC (single phase) seven PFC duty cycle feedforward
35道MySQL面试必问题图解,这样也太好理解了吧
C graphical tutorial (Fourth Edition)_ Chapter 20 asynchronous programming: examples - cases without asynchronous
[colab] [7 methods of using external data]
Four problems and isolation level of MySQL concurrency
Useful blog links
【Colab】【使用外部数据的7种方法】
[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
Detailed explanation of the most complete constraintlayout in history
[Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [Chapter V exercises]
18W word Flink SQL God Road manual, born in the sky
C graphical tutorial (Fourth Edition)_ Chapter 15 interface: interfacesamplep271
01 three solutions to knapsack problem (greedy dynamic programming branch gauge)
Sword finger offer 12 Path in matrix
Sitescms v3.0.2 release, upgrade jfinal and other dependencies
How to stand out quickly when you are new to the workplace?
2022-02-11 practice of using freetsdb to build an influxdb cluster
这本数学书AI圈都在转,资深ML研究员历时7年之作,免费电子版可看
Seven habits of highly effective people
mysqlbetween实现选取介于两个值之间的数据范围