Reputation: 1413
I need to build a standard page in sapui5 but I'm not able to find a complete list of the elements available in XML views, so I don't have a full knowledge of what I can build.
Example of XML view:
<attributes>
<ObjectAttribute text="{OrdenId}" />
</attributes>
Where could I find a list of all elements available in XML views for sapui5? I can't find any specific standard documentation.
Thanks in advance, Hoijof.
Upvotes: 3
Views: 2148
Reputation: 222
there's no list of elements (controls) in XML Views as all SAPUI5 controls can be used in XMLViews. The control's class name is the element name in a tag. Properties are represented as attributes:
<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>
Upvotes: 2