日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Fiori 出试(WEBIDE平台)day1

發(fā)布時間:2024/10/12 编程问答 34 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Fiori 出试(WEBIDE平台)day1 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
剛開始學(xué)習(xí)ui5的開發(fā),好多語法還不是很懂。

<
mvc:View controllerName="com.example.wizard.BookExample_Wizard.controller.View1" xmlns:mvc="sap.ui.core.mvc"
xmlns:layout
="sap.ui.layout"xmlns:form="sap.ui.layout.form"xmlns:core="sap.ui.core"xmlns="sap.m"><App><NavContainer id="wizardNavContainer"><pages><Page title="new prodect"><content><Wizard complete="onWizardComplete"><WizardSteptitle="Basic Information"icon = "sap-icon://product"><form:SimpleForm editable="true"><Label text="Name" required="true"/><Input value="{/Name}"placeholder="A short name"/><Label text="Description" required="true"/><Input value="{Description}"placeholder="One-sentence description"/><Label text="Date Avail. for Sale"/><DatePicker value="{/SellDate}"/><Label text="Unit Price" required="True"/><Input value="{/Price}" type="Number"placeholder="Starting price"/></form:SimpleForm></WizardStep><WizardStep title="Product Physical Information"icon="sap-icon://database"><form:SimpleForm editable="true"><Label text="Height (inches)"/><Input value="{/Height}"placeholder="Includes regular packing"/><Label text="Weight (ounces)"/><Input value="{/Weight}"placeholder="Includes regular packing"/><Label text="Department"/><ComboBox id="departmentCombo"change="onComboChange"><core:Item key="01" text="Electronics"/><core:Item key="02" text="Toys"/></ComboBox><Label text="Merchandising"/><VBox><RadioButtonGroup select="onRadionChange"><RadioButton text="Display on shelf"/><RadioButton text="Freestanding"/></RadioButtonGroup></VBox></form:SimpleForm></WizardStep><WizardSteptitle="Supplier Information"icon="sap-icon://supplier"><form:SimpleForm editable="true"><Label text="Name"/><Input value="{/SupplierName}"/><Label text="Street"/><Input value="{SupplierStreet}"placeholder="123 Main St."/><Label text="City/State/Zip"/><Input value="{SupplierState}"placeholder="IL"/><Input value="{/SupplierZip}"placeholder="60176" type="Number"/></form:SimpleForm></WizardStep></Wizard> </content></Page></pages></NavContainer></App> </mvc:View> sap.ui.define(["sap/ui/core/UIComponent","sap/ui/Device","com/example/wizard/BookExample_Wizard/model/models" ], function (UIComponent, Device, models) {"use strict";return UIComponent.extend("com.example.wizard.BookExample_Wizard.Component", {metadata: {manifest: "json"},/*** The component is initialized by UI5 automatically during the startup of the app and calls the init method once.* @public* @override*/init: function () {// call the base component's init functionUIComponent.prototype.init.apply(this, arguments);// enable routingthis.getRouter().initialize();// set the device modelthis.setModel(models.createDeviceModel(), "device");},onshit:function(){this.model = new sap.ui.model.json.JSONModel();this.getView().setModel(this.model);//Add the review page to the nav contanier//This way, when onwizardcomplete is invoked,//we simple use to.() method to have the review page show upthis.oNavContainer=this.getView().byId("wizardNavContainer");this.wizardReviewPage =sap.ui.xmlfragment("com.example.wizarddBookExample_Wizard.view.Review",this);this.oNavContainer.addPage(this.wizardReviewPage);}}); });

轉(zhuǎn)載于:https://www.cnblogs.com/HARU/p/10671990.html

總結(jié)

以上是生活随笔為你收集整理的Fiori 出试(WEBIDE平台)day1的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。