<!DOCTYPE html>
<html>
<head>
	<title>OpenUI5 Hello World App</title>
	<script
		id="sap-ui-bootstrap"
		src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js"
		displayBlock="true"
		data-sap-ui-theme="sap_belize"
		data-sap-ui-libs="sap.m"
		data-sap-ui-resourceroots='{"HelloWorld": "./"}'>
	</script>
	<script>
		sap.ui.getCore().attachInit(function () {
			sap.ui.xmlview({
			  viewName: "HelloWorld.App"
			}).placeAt("content");
		});
	</script>
</head>
<body class="sapUiBody" id="content">
</body>
</html>
<mvc:View
  controllerName="HelloWorld.App"
  xmlns:mvc="sap.ui.core.mvc"
  xmlns="sap.m"
  displayBlock="true">
  <App>
    <Page	
      title="My App">
      <Button
        id="huhu"
        type="Emphasized"
        icon="sap-icon://sap-ui5"
        text="Say Hello"
        press="onShowHello"
        class="sapUiSmallMargin"/>
    </Page>
  </App>
</mvc:View>
sap.ui.define([
   "sap/ui/core/mvc/Controller",
   "sap/m/MessageToast"
], function (Controller, MessageToast) {
   "use strict";
   
   return Controller.extend("HelloWorld.App", {
      onShowHello: function () {
         MessageToast.show("Hello World");
      }
   });
});