<core:FragmentDefinition
xmlns="sap.m"
xmlns:l="sap.ui.layout"
xmlns:f="sap.ui.layout.form"
xmlns:core="sap.ui.core">
<Dialog title = "Employee Details">
<!-- <l:Grid defaultSpan = "L12 M12 S12" width = "auto" id = "idGrid"> -->
<l:VerticalLayout
class="sapUiContentPadding"
width="100%">
<l:content>
<f:SimpleForm id="SimpleFormDisplay354"
minWidth="1000"
maxContainerCols="2"
editable="false"
layout="GridLayout"
labelSpanL="3"
labelSpanM="3"
emptySpanL="4"
emptySpanM="4"
columnsL="2"
columnsM="2">
<f:content>
<Label text="Name" />
<Input id = "Name"/>
<Label text="Age" />
<Input id = "Age"/>
<!-- <Label text="Gender" />
<RadioButtonGroup id="Radio" >
<buttons>
<RadioButton text="Male"/>
<RadioButton text="Female"/>
</buttons>
</RadioButtonGroup> -->
<Label text="Address" />
<Input id = "Address"/>
</f:content>
</f:SimpleForm>
</l:content>
</l:VerticalLayout>
<!-- </l:Grid> -->
<buttons>
<Button text = "Cancel" press = "closeDialog" type = "Reject"/>
<Button text = "Ok" press = "onSave" type = "Accept"/>
</buttons>
</Dialog>
</core:FragmentDefinition>
xmlns="sap.m"
xmlns:l="sap.ui.layout"
xmlns:f="sap.ui.layout.form"
xmlns:core="sap.ui.core">
<Dialog title = "Employee Details">
<!-- <l:Grid defaultSpan = "L12 M12 S12" width = "auto" id = "idGrid"> -->
<l:VerticalLayout
class="sapUiContentPadding"
width="100%">
<l:content>
<f:SimpleForm id="SimpleFormDisplay354"
minWidth="1000"
maxContainerCols="2"
editable="false"
layout="GridLayout"
labelSpanL="3"
labelSpanM="3"
emptySpanL="4"
emptySpanM="4"
columnsL="2"
columnsM="2">
<f:content>
<Label text="Name" />
<Input id = "Name"/>
<Label text="Age" />
<Input id = "Age"/>
<!-- <Label text="Gender" />
<RadioButtonGroup id="Radio" >
<buttons>
<RadioButton text="Male"/>
<RadioButton text="Female"/>
</buttons>
</RadioButtonGroup> -->
<Label text="Address" />
<Input id = "Address"/>
</f:content>
</f:SimpleForm>
</l:content>
</l:VerticalLayout>
<!-- </l:Grid> -->
<buttons>
<Button text = "Cancel" press = "closeDialog" type = "Reject"/>
<Button text = "Ok" press = "onSave" type = "Accept"/>
</buttons>
</Dialog>
</core:FragmentDefinition>