Skip to Content
0
Former Member
Apr 14, 2014 at 05:24 AM

MVC in SAPUI5

29 Views

Hi Experts,

I am stuck trying out MVC in SAPUI5.

Please help me figure out the issue with my code.

Code as below :

Index.html


<!DOCTYPE html>

<html><head>

<meta http-equiv='X-UA-Compatible' content='IE=edge' />

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>

<title>test</title>

<script id='sap-ui-bootstrap'

src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js"

data-sap-ui-theme='sap_goldreflection'

data-sap-ui-libs='sap.ui.commons,sap.ui.table'></script>

<script id='sap-ui-bootstrap'

src='mvc.js'></script>

</head>

<body class='sapUiBody'>

<div id='content'></div>

<div id='table'></div>

</body>

</html>

Please find the JS in the text file attached.

Thanks and Regards,

Rajanag

Attachments

mvc.txt.zip (1.8 kB)