当前位置:网站首页>SAP UI5 ObjectPageLayout 控件使用方法分享
SAP UI5 ObjectPageLayout 控件使用方法分享
2022-07-05 12:39:00 【汪子熙】
SAP UI5 ObjectPageLayout 控件允许应用程序轻松显示与业务对象(Business Object)相关的信息的布局。
ObjectPageLayout 布局由一个抬头区域(标题和内容)、一个可选的 anchor bar 区域和 block content区域组成。
其中 block content 被包裹在 sections 和 子 sections 中,这些 section 共同组成了 BO 的结构化信息显示。
换言之,ObjectPageLayout 控件用于将对象页面的所有部分放在一起——标题、可选的锚条和节/子节区域。
下图是一个例子:
- headerTitle
- headerContent
- sections
- subSections

header
ObjectPageLayout实现捕获头( snapping header)的概念。这意味着页眉的上部(页眉标题)始终是可见的,而下部(页眉内容)可以滚动出视图。
标题显示在标题的顶部,并且始终在页面可滚动内容的上方可见。它包含对象的标题和最突出的细节。
页眉内容与页面内容一起滚动,直到它消失(折叠页眉)。当滚动回顶部时,它再次变得可见(扩展标题)。它包含对象的所有附加信息。
如下图所示:
Anchor Bar
中文翻译为锚栏,这是一个自动生成的内部菜单,它显示了各个节和子节的标题,并允许用户滚动到各自的节和子节内容。
Sections, Subsections, Blocks
这些出现在页眉下方的页面内容,由结构成节和子节的块组成。
如下图所示,定义了 General Information 和 Suppliers 两个 section,分别各自包含一个 SimpleForm 和 Table:

ObjectPageLayout 的使用场景
- 用户需要查看、编辑或创建具有所有详细信息的条目。
- 用户需要了解对象的概况,并与对象的不同部分进行交互。
最后运行时的效果如下:
边栏推荐
- Redis cluster configuration
- SAP 自开发记录用户登录日志等信息
- 从39个kaggle竞赛中总结出来的图像分割的Tips和Tricks
- Simply take stock reading notes (1/8)
- VoneDAO破解组织发展效能难题
- [figure neural network] GNN from entry to mastery
- Super efficient! The secret of swagger Yapi
- Resnet18 actual battle Baoke dream spirit
- Docker configures redis and redis clusters
- Research: data security tools cannot resist blackmail software in 60% of cases
猜你喜欢

A few years ago, I outsourced for four years. Qiu Zhao felt that life was like this

太方便了,钉钉上就可完成代码发布审批啦!

Iterator details in list... Interview pits

自然语言处理系列(一)入门概述

Distributed cache architecture - cache avalanche & penetration & hit rate

JDBC -- extract JDBC tool classes

CVPR 2022 | single step 3D target recognizer based on sparse transformer

滴滴开源DELTA:AI开发者可轻松训练自然语言模型

Preliminary exploration of basic knowledge of MySQL

Transactions on December 23, 2021
随机推荐
Pytoch implements tf Functions of the gather() function
Pytoch monolayer bidirectional_ LSTM implements MNIST and fashionmnist data classification
Language model
OPPO小布推出预训练大模型OBERT,晋升KgCLUE榜首
Setting up sqli lab environment
Lepton 无损压缩原理及性能分析
自然语言处理系列(一)入门概述
Taobao short video, why the worse the effect
A possible investment strategy and a possible fuzzy fast stock valuation method
Notes for preparation of information system project manager --- information knowledge
Annotation problem and hidden Markov model
Simply take stock reading notes (4/8)
非技术部门,如何参与 DevOps?
Distributed solution - Comprehensive decryption of distributed task scheduling platform -xxljob
A few years ago, I outsourced for four years. Qiu Zhao felt that life was like this
Super efficient! The secret of swagger Yapi
Transactions from January 14 to 19, 2022
NPM install reports an error
NFT: how to make money with unique assets?
以VMware创新之道,重塑多云产品力