메뉴 건너뛰기

SAP 한국 커뮤니티

Ch23. 05번 Create View 설정

감자깡 2025.09.22 17:53 조회 수 : 0

<mvc:View 
        xmlns:html="http://www.w3.org/1999/xhtml" 
        xmlns:mvc="sap.ui.core.mvc" 
        xmlns="sap.m" 
        controllerName="ea.zcertemp.controller.CreateView" 
        xmlns:sf="sap.ui.comp.smartform" 
        xmlns:sfd="sap.ui.comp.smartfield"
        displayBlock="true">
        
    <Dialog id="popupDialog" title="자격증 생성 정보" contentWidth="400px" >
        <VBox id="_IDGenVBox1">
            <sf:SmartForm id="smartForm"  editable="true" entityType="ZCERTINFO">
                <sf:Group id="Group1" >
                    <sf:GroupElement id="_GroupElement1">
                        <sfd:SmartField id="_sfd01" value="{Certid}" />
                    </sf:GroupElement>
                    <sf:GroupElement id="_GroupElement2">
                        <sfd:SmartField id="_sfd02" value="{Certname}" />
                    </sf:GroupElement>
                    <sf:GroupElement id="_GroupElement3">
                        <sfd:SmartField id="_sfd03" value="{Company}" />
                    </sf:GroupElement>
                </sf:Group>
            </sf:SmartForm>
        </VBox>
        <buttons>
            <Button id="_Button1" text="Create" press=".onCreate"/>
            <Button id="_Button2" text="Cancel" press=".onCancel"/>
        </buttons>
    </Dialog>
</mvc:View>