Advertisement
ignatov

Untitled

Jun 12th, 2020
1,133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.83 KB | None | 0 0
  1. <core:FragmentDefinition xmlns:l="sap.ui.layout"
  2. xmlns:f="sap.ui.layout.form" xmlns:mvc="sap.ui.core.mvc" xmlns:core="sap.ui.core"
  3.     xmlns="sap.m">
  4.     <Dialog id="idEditDialog" title="">
  5.         <f:SimpleForm editable="true">
  6.             <f:content>
  7.                 <VBox class="sapUiSmallMargin">
  8.                     <Input value="{person>Id}" id="idPerson" editable="false"/>
  9.                     <Input value="{person>ZzfirstName}" id="idfName"/>
  10.                     <Input value="{person>ZzlastName}" id="idlName"></Input>
  11.                     <CheckBox text="Active" selected="{person>Active}" id="idChB"></CheckBox>
  12.                 </VBox>
  13.             </f:content>
  14.         </f:SimpleForm>
  15.         <FlexBox alignItems="Center">
  16.             <Button type="Accept" icon="sap-icon://refresh" press="onUpdate" text="Update"/>
  17.             <Button icon="sap-icon://decline" press="onCloseDialog" text="Close" type="Reject"/>
  18.         </FlexBox>
  19.     </Dialog>
  20. </core:FragmentDefinition>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement