09 2021 档案

摘要:Step 32: Routing Back and History https://openui5.hana.ondemand.com/topic/8ef57cfd37b44f089f7e3b52d56597eb 添加从详细页面返回一览页面的按钮 webapp/view/Detail.view.xm 阅读全文
posted @ 2021-09-22 17:25 小石王 阅读(421) 评论(0) 推荐(0) 编辑
摘要:Step 31: Routing with Parameters https://openui5.hana.ondemand.com/topic/2366345a94f64ec1a80f9d9ce50a59ef 目前在详细页面显示的是固定的静态文本,这里通过传递给详细页面参数,显示动态内容。 web 阅读全文
posted @ 2021-09-22 16:45 小石王 阅读(523) 评论(0) 推荐(0) 编辑
摘要:Step 30: Routing and Navigation https://openui5.hana.ondemand.com/topic/e5200ee755f344c8aef8efcbab3308fb 到目前为止,app里只有一个页面,这里加一个详细的页面,需要使用到router和Navig 阅读全文
posted @ 2021-09-22 13:47 小石王 阅读(632) 评论(2) 推荐(0) 编辑
摘要:Step 28: Unit Test with QUnit https://ui5.sap.com/#/topic/e1ce1de315994a02bf162f4b3b5a9f09 单体测试 webapp/test/unit/model/formatter.js /*global QUnit*/ s 阅读全文
posted @ 2021-09-15 16:37 小石王 阅读(451) 评论(0) 推荐(0) 编辑
摘要:Step 24: Filtering https://ui5.sap.com/#/topic/5295470d7eee46c1898ee46c1b9ad763 List控件的过滤器功能 webapp/view/InvoiceList.view.xml <mvc:View controllerName 阅读全文
posted @ 2021-09-07 08:19 小石王 阅读(525) 评论(0) 推荐(0) 编辑
摘要:Step 25: Sorting and Grouping https://openui5.hana.ondemand.com/topic/c4b2a32bb72f483faa173e890e48d812 列表的排序与分组 webapp/view/InvoiceList.view.xml <mvc: 阅读全文
posted @ 2021-09-06 21:29 小石王 阅读(492) 评论(0) 推荐(0) 编辑
摘要:Step 23: Custom Formatters https://ui5.sap.com/#/topic/0f8626ed7b7542ffaa44601828db20de 上一节,使用UI5自己的支持表达式绑定的控件实现了,根据价格值的不同,显示不同的颜色。 如果是比较复杂的逻辑,使用表达式绑定 阅读全文
posted @ 2021-09-06 08:33 小石王 阅读(467) 评论(0) 推荐(0) 编辑
摘要:表达式绑定 https://ui5.sap.com/#/topic/c98d57347ba444c6945f596584d2db45 webapp/view/InvoiceList.view.xml <mvc:View controllerName="sap.ui.demo.walkthrough. 阅读全文
posted @ 2021-09-06 08:32 小石王 阅读(441) 评论(0) 推荐(0) 编辑
摘要:Step 21: Data Types https://ui5.sap.com/#/topic/dfe04650afc046e0802abb1a1a90d2d9 上一节的json文件里只有价格,但是没有币种,UI5通过使用Data Types,可以根据币种的不同,自动格式化价格数字, 比如虽然价格的 阅读全文
posted @ 2021-09-06 08:31 小石王 阅读(513) 评论(0) 推荐(0) 编辑
摘要:Step 20: Aggregation Binding https://ui5.sap.com/#/topic/bf71375454654b44af01379a3c3a6273 数据绑定和列表控件 webapp/Invoices.json (New) { "Invoices": [ { "Prod 阅读全文
posted @ 2021-09-06 08:30 小石王 阅读(578) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示