Tuesday, 4 December 2018

xml form sapui5

form.view.xml:
<core:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m"
controllerName="xmlform.form" xmlns:f="sap.ui.layout.form">
<Page title="Title">
<content>
<f:SimpleForm editable="false" layout="ResponsiveGridLayout" id="SimpleForm">
<f:content id="FormContent">
<core:Title text="Title"/>
<Label text="Label 1" id="Label1"/>
<Input width="100%" id="Input1" value="Input 1" enabled="false"/>
<Input width="100%"  id="Input2" value="Input 2" enabled="false"/>
<Label text="Label 2" id="Label2"/>
<Input width="100%"  id="Input3" value="Input 3" enabled="false"/>
</f:content>
</f:SimpleForm>
</content>
</Page>
</core:View>
output:

No comments:

Post a Comment

test ganaral binding(testing )

  /home/user/projects/project1/webapp/model/record.json: {     "text" : "outer text" ,     "myrecorsd" : [    ...