日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

SAP Fiori Elements 学习笔记 - 2021年4月19日

發布時間:2023/12/19 编程问答 37 豆豆
生活随笔 收集整理的這篇文章主要介紹了 SAP Fiori Elements 学习笔记 - 2021年4月19日 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

SAP Fiori Elements List Report 里 Smart Table 模板的設計原理:

sap.suite.ui.generic.template.fragments.TableColumns 和 sap.suite.ui.generic.template.fragments.TableColumnListItem 分別顯示表頭和表的行內容。

運行時,這些 fragments 對應的 XML 資源被加載如下:

SAP Fiori Elements 項目里和 i18n 相關的設置

i18n 相關的設置:

指定 ListReport 使用的 main entityset 為:SEPMRA_C_PD_Product:

Fiori Elements 應用向后臺發起的 OData 請求:

響應里包含的 edmx 標簽是什么含義?

edmx file is an XML file that defines an Entity Data Model (EDM), describes the target database schema, and defines the mapping between the EDM and the database.

edmx 文件是一個 xml 格式的文件,定義了一個 Entity Data Model,簡稱 EDM,描述了目標數據庫 Schema,以及 EDM 到數據庫表的映射關系。

manifest.json 文件里和翻譯,國際化(i18n)相關的設置點:

resources 字段指定的文件:resources.json - it lists all resources in a component or library folder. It resides next to each manifest.json in the generated results.

list report 里顯示 Smart Table 的設計原理:

<mvc:View xmlns:mvc="sap.ui.core.mvc" xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"template:require="sap.suite.ui.generic.template.js.StableIdHelper"xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:semantic="sap.m.semantic" xmlns:ushell="sap.ushell.ui"xmlns:build="sap.build" xmlns:st="sap.suite.ui.generic.template"><core:Fragment fragmentName="sap.suite.ui.generic.template.ListReport.view.fragments.FullscreenPage" type="XML"/><!-- create with dialog fragment load if manifest setting is there --><template:with path="parameter>/templateSpecific/tableSettings/createWithParameterDialog" var="createWithParameterDialog"><core:Fragment fragmentName="sap.suite.ui.generic.template.fragments.CreateWithDialog" type="XML"/></template:with> </mvc:View>

IconTabBarWithSmartTable

下圖高亮這個 fragment 即包含 SmartTable 的實現:

List Report 支持不同的表格類型:

  • AnalyticalTable
  • TreeTable
  • GridTable
  • ResponsiveTable ( 默認 )

https://sapui5.hana.ondemand.com/1.36.6/docs/guide/c2f4684363c64d5fbaf65662c11dc6ea.html

The app configures several data models that are used throughout the app to update the views or to store additional configuration options.

SAP UI5 應用配置了需要在 app 中使用的數據模型,用來更新視圖,或者存儲額外信息。

The service model and the resource bundle are instantiated automatically by the app’s component during startup.

SAP UI5 應用模型和 resource bundle,在應用 Component 啟動時自動被初始化。

The local view models and helper models such as the device model are set up as JSON models.

本地視圖模型,以及出于輔助目的引入的模型,比如 device 模型,實現模式為 JSON model.

更多Jerry的原創文章,盡在:“汪子熙”:

總結

以上是生活随笔為你收集整理的SAP Fiori Elements 学习笔记 - 2021年4月19日的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。