当前位置:网站首页>About the meaning of the first two $symbols of SAP ui5 parameter $$updategroupid
About the meaning of the first two $symbols of SAP ui5 parameter $$updategroupid
2022-06-27 14:42:00 【Jerry Wang】
my SAP UI5 course ,SAP UI5 Application development tutorial 65 - be based on OData V4 Of SAP UI5 How to create a table control , Edit and save functions , It demonstrates how to pass XML View mode , Not SAP UI5 Table Control , Syntax for defining compound binding paths , As shown in the figure below :
<Table
id="peopleList"
growing="true"
growingThreshold="10"
items="{
path: '/People',
parameters: {
$count: true,
$$updateGroupId : 'peopleGroup'
}
}">The semantics of this line is : When users modify (update) Table row item , The table control does not immediately change these changes , adopt HTTP Post Send the request to the provider OData Service Mock Server, Instead, delay until the user clicks on the toolbar Save Button HTTP Post Batch request , Save the modification .peopleGroup yes Batch Requested group Number , Can be in Chrome Observed in developer tools :
Have friends for XML Parameters in the view $$updateGroupId Ask such questions :
This updateGroupId There are two in front
, Can you explain this meaning ? When is a , When are two ?
The answer is simple :
- with
Single$ Operation of symbols , On behalf of this is OData Standard operations supported by the protocol .
from OData Agreed Official website A list of all these standard operations can be found on the , such as :
- $search
- $filter
- $count
- $orderby
- $skip
- $top wait .
With two $$ The beginning of the operation , That is the SAP Imported custom parameters , For the same OData Protocol standard operation .
This truth is actually similar to SAP UI5 index.html In the page ,id by sap-ui-bootstrap The boot script Element , A large number of data-sap-XXXX The same goes for attribute definitions . These attributes are represented by data-sap start , Also to avoid and HTML The possibility of conflicting properties of standards .
OData V4 The model supports read, update and delete Operations specify different group ID. call OData Model API Submitted change request , Will be based on group ID Merge into the same batch request .
About group id More details about the fields , Please refer to these two articles :
边栏推荐
- 【微服务|Sentinel】热点规则|授权规则|集群流控|机器列表
- 初识云原生安全:云时代的最佳保障
- ERROR L104: MULTIPLE PUBLIC DEFINITIONS
- 【高等数学】从法向量到第二类曲面积分
- my. INI file configuration
- Professor huangxutao, a great master in CV field, was born at the age of 86. UIUC specially set up a doctoral scholarship to encourage cutting-edge students
- Julia1.1 installation instructions
- 高德地图IP定位2.0备份
- Rereading the classic: the craft of research (1)
- NLP - monocleaner
猜你喜欢

Use GCC to generate an abstract syntax tree "ast" and dump it to Dot file and visualization

反射学习总结

【业务安全-01】业务安全概述及测试流程

CAS comparison and exchange

What are the operating modes of the live app? What mode should we choose?

CV领域一代宗师黄煦涛教授86岁冥诞,UIUC专设博士奖学金激励新锐

Professor huangxutao, a great master in CV field, was born at the age of 86. UIUC specially set up a doctoral scholarship to encourage cutting-edge students
机械硬盘和ssd固态硬盘的原理对比分析

All you want to know about large screen visualization is here

The second part of the travel notes of C (Part II) structural thinking: Zen is stable; all four advocate structure
随机推荐
522. longest special sequence II / Sword finger offer II 101 Split equal sum subset
Interview question: rendering 100000 data solutions
[business security-04] universal user name and universal password experiment
跨境电商多商户系统怎么选
enable_ if
Semaphore of thread synchronization
请求一下子太多了,数据库危
R language triple becomes matrix matrix becomes triple
Practice of constructing ten billion relationship knowledge map based on Nebula graph
Daily question 3 (2): check binary string field
my. INI file configuration
[daily 3 questions (3)] maximum number of balls in the box
做一篇人人能搞懂的ThreadLocal(源码)
ThreadLocal之强、弱、軟、虛引用
élégant pool de threadpoolexecutor personnalisé
Handling methods for NVIDIA deepstream running delay, jamming and crash
LVI: feature extraction and sorting of lidar subsystem
【微服务|Sentinel】热点规则|授权规则|集群流控|机器列表
ReentrantLock、ReentrantReadWriteLock、StampedLock
Using redis skillfully to realize the like function, isn't it more fragrant than MySQL?