Table of Contents
2、webapp/controller/App.controller.js (New)
1、webapp/controller/App.controller.js
Step5:Controller层
1、webapp/view/App.view.xml
<mvc:View
controllerName="sap.ui.demo.walkthrough.controller.App"
xmlns="sap.m"
xmlns:mvc="sap.ui.core.mvc">
<Button
text="Say Hello"
press=".onShowHello"/>
</mvc:View>
<Button text="Say Hello" press=".onShowHello"/>
样式如图: