When I write a UI5 XML element, I use format function to set its visibility. For example:<Title text="{
parts:[
'label1'
{path:'color'},
],
formatter: '.formatter.getVisibility'}"
/>And I want the first parameter, in this case is...
I want to get an Invoice entity by OData. How to create 2 OData requests to get a whole Invoice entity data, each request only gets a part of the data?
The XML and binding example:
<View> <Text text={field1}> <Text text={field2}> .... <Text ...
I have a fragment: MyFragment. Sample code is:
// MyFragment<Label id="my_label_id" text="my label" />
My fragment is contained by other views:
MyView contains both Fragment1 and Fragment2, and Fragment1 and Fragment2 contains MyFragment.In ...
In UI5 XML file, the following code will log an error:
<Label id="ObjectPageSectionGlobalization_objectpagesubsection1_simpleform1_ObjectPageKsefNumberLabel" text="{i18n>CIM_OP_KSEF_NUMBER}" visible="{= ${gl...
I am not sure if this is the right place to ask this question, because it is a invoice-list-ui of Central invoice management specific question.I found there is a DatePicker, declared as:
<m:DatePicker id="ObjectPageEditSectionGeneral_Bas...
This is the requirement. I need to add some labels to MyView. If MyView is in readonly mode, Fragment1 is show, Fragment2 is hidden; And If MyView is in edit mode, Fragment1 is hidden, Fragment2 is show. I created MyFragment which contains all the ne...
Thanks Alex. If I set the browser language to English, the date format is "MMM d, y"; And if I set it to Chinese, the format is "y年M月d日". They are different. Do you mean they are the default format for English and Chinese, if no format options are se...