gpt4 book ai didi

xml - 我在哪里可以找到 sapui5 中可用的所有 XML 元素的列表?

转载 作者:数据小太阳 更新时间:2023-10-29 02:35:26 25 4
gpt4 key购买 nike

我需要在 sapui5 中构建一个标准页面,但我无法找到 XML View 中可用元素的完整列表,因此我不完全了解我可以构建什么。

XML View 示例:

<attributes>
<ObjectAttribute text="{OrdenId}" />
</attributes>

我在哪里可以找到 sapui5 的 XML View 中所有可用元素的列表?我找不到任何特定的标准文档。

提前致谢,霍伊约夫。

最佳答案

XML View 中没有元素(控件)列表,因为所有 SAPUI5 控件都可以在 XML View 中使用。控件的类名是标记中的元素名。属性表示为属性:

<core:View 
controllerName="ui.Main"
xmlns="sap.ui.commons"
xmlns:core="sap.ui.core">
<ListBox displaySecondaryValues="true">
<items>
<core:ListItem text="Item1" additionalText="TextTextText"/>
<core:ListItem text="Item2" additionalText="TextTextText"/>
</items>
</ListBox>
</core:View>

关于xml - 我在哪里可以找到 sapui5 中可用的所有 XML 元素的列表?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22075462/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com