on 08-19-2017 1:20 PM
Hi Gurus,
I have copied the input assisted tabular suggestion code from UI5 toolkit and used it in a project in eclipse but getting the following error.
Please find the snapshot of the project details:
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<title>Input - Assisted Tabular Suggestions</title>
<script id="sap-ui-bootstrap"
src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js"
data-sap-ui-libs="sap.m"
data-sap-ui-theme="sap_belize"
data-sap-ui-xx-bindingSyntax="complex"
data-sap-ui-preload="async"
data-sap-ui-compatVersion="edge"
data-sap-ui-resourceroots='{"sap.m.sample.InputAssistedTabularSuggestions": "./", "sap.ui.demo.mock": "mockdata"}'>
</script>
<!-- Application launch configuration -->
<script>
sap.ui.getCore().attachInit(function() {
new sap.m.App ({
pages: [
new sap.m.Page({
title: "Input - Assisted Tabular Suggestions",
enableScrolling : true,
content: [ new sap.ui.core.ComponentContainer({
name : "sap.m.sample.InputAssistedTabularSuggestions"
})]
})
]
}).placeAt("content");
});
</script>
</head>
<!-- UI Content -->
<body class="sapUiBody" id="content" role="application">
</body>
</html>
Please suggest how to fix the above errors. Inputs will be really appreciated.
Regards,
Ajay
What is line no. 10 in index.html? Click on the error and share it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sharath,
Line no 10 in index.html file which i attached above is shown below
Also i am getting other error as shown in previous thread attachment as
2. failed to load 'sap/m/sample/InputAssistedTabularSuggestions/Component-preload.js' from ./Component-preload.js: 404 - Not Found
Caused by: undefined
3. resource sap/m/sample/InputAssistedTabularSuggestions/view.view.xml could not be loaded from ./view.view.xml. Check for 'file not found' or parse errors. Reason: Not Found
Can you please provide some input on these issue?
Regards,
Ajay
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.