Hi
I am creating components within my App using ComponentContainer. I was following these guidelines
Creating a New SAPUI5 Component - UI Development Toolkit for HTML5 (SAPUI5) - SAP Library
I have it working as expected and all looked good, my question might be silly. But does ComponentContainer require the new component to be in a file Component.js.
eg:
var termMap = new sap.ui.core.ComponentContainer("TestComponent", {
name: "com.view.components.testComponent",
settings: {data: pseudoData}
});
thisPage.addContent(termMap);
in my folder testComponent if I try and name the files anything other than Component.js, I am getting an error where it specificly is looking for Component.js
eg:
/TestApp/resources/shcb1457463030372/com/view/components/testComponent/Component.js: 404 - Not Found
Wondering has anyone else been able to name a new component using the container something else? or am I missing the point and the name of it as Component.js is the expected behavior.
Thanks