sapui5 - 在语义页脚的按钮之间添加文本:footerCustomActions
问题描述
我正在寻找一种在 'sap.f.semantic' 语义页面内的语义内容页脚中的 'semantic:negativeAction' 按钮和 'semantic:positiveAction' 按钮之间添加文本的方法。
<semantic:positiveAction>
<semantic:PositiveAction text="+"/>
</semantic:positiveAction>
<semantic:negativeAction>
<semantic:NegativeAction text="-" />
</semantic:negativeAction>
解决方案
您是否考虑过在语义页面中使用 customFooterContent 聚合作为页脚
<semantic:customFooterContent>
<Button text="Approve" type="Accept" press="onAcceptPress"/>
<Label text="Test Text between two buttons"></Label>
<Button text="Reject" type="Reject" press="onRejectPress"/>
</semantic:customFooterContent>
链接: https ://sapui5.hana.ondemand.com/#/api/sap.m.semantic.SemanticPage
推荐阅读
- python - snakemake,如何为两个独立参数建立一个循环
- keras - 来自 LSTM 的 Cell State 和 HiddenState 的初始状态
- asp.net-mvc - 将 ASPNET 核心应用程序部署到服务器上的 IIS:带有 ucrtbase.dll 模块的 0xc0000409 异常
- javascript - SVG获取引用的父级
- r - 带有 if 语句的条件过滤器
- python - 如何修复 AttributeError:'NoneType' 对象没有 tkinter 条目的属性 'get'
- javascript - 我怎样才能禁止一个词
- c# - 我必须在 Excel 文件中选择特定行
- c# - 我想使用 DropDownListFor 来编辑我的食谱的成分,所以我需要将 ICollection 项目映射到 DropDownListFor
- jquery - 数据表,jquery,动画,z-index