Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8944

Organizing SAPUI5 Notepad Controls

$
0
0

I'm SAPUI5 newby. I'm trying re-organize my UI5 application and would like to put my derived classes extend in a separate sub-folder. The problem is that the view that is trying to reference it doesn't know it exist. So if you create a new class like JuToolbar that is extending a class like Toolbar using the Toolbar.extend function  (using the Notepad Control pattern found in the manuals) and you want to put it in a sub-folder jonova/ui5/utils/JuToolbar.js, how do you reference the new JuToolbar in the View class?  I've attached some file that show the package structure & the JuToolbar and View who try's to use it. To bel able to attach the file I changed the extention from a .js file to .txt file.


Viewing all articles
Browse latest Browse all 8944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>