当前位置:网站首页>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 :
边栏推荐
- External memory
- Leetcode 724. Find the central subscript of the array (yes, once)
- Daily 3 questions (1): find the nearest point with the same X or Y coordinate
- Longest substring without repeated characters (Sword finger offer 48)
- SQL parsing practice of Pisa proxy
- 直播app运营模式有哪几种,我们该选择什么样的模式?
- 隱私計算FATE-離線預測
- Domestic database disorder
- 现在开户有优惠吗?网上开户是否安全么?
- Bidding announcement: Oracle all-in-one machine software and hardware maintenance project of Shanghai R & D Public Service Platform Management Center
猜你喜欢

ThreadLocal之强、弱、軟、虛引用

海量数据!秒级分析!Flink+Doris构建实时数仓方案

Privacy computing fat offline prediction

OpenSSF安全计划:SBOM将驱动软件供应链安全

Pisa-Proxy 之 SQL 解析实践

隱私計算FATE-離線預測

At a time of oversupply of chips, China, the largest importer, continued to reduce imports, and the United States panicked

Redis master-slave replication, sentinel mode, cluster cluster

Volatile and JMM

初识云原生安全:云时代的最佳保障
随机推荐
The second part of the travel notes of C (Part II) structural thinking: Zen is stable; all four advocate structure
海量数据!秒级分析!Flink+Doris构建实时数仓方案
Jupiter core error
Maximum profit of stock (offer 63)
AQS抽象队列同步器
Synchronized and lock escalation
Leetcode 724. Find the central subscript of the array (yes, once)
Overseas warehouse knowledge popularization
[PHP code injection] common injectable functions of PHP language and utilization examples of PHP code injection vulnerabilities
How QT sets some areas to be transparent in the background image
Abnormal analysis of pcf8591 voltage measurement data
External memory
Redis CacheClient
跨境电商多商户系统怎么选
Redis持久化
Lei Jun lost another great general, and liweixing, the founding employee of Xiaomi No. 12, left his post. He once had porridge to create Xiaomi; Intel's $5.4 billion acquisition of tower semiconductor
ThreadLocal之强、弱、軟、虛引用
Experience sharing of mathematical modeling: comparison between China and USA / reference for topic selection / common skills
[an Xun cup 2019]attack
现在开户有优惠吗?网上开户是否安全么?