Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Import 'sap.ui.comp' for using ValueHelpDialog control

Hello Experts,

I'm trying to import the 'sap.ui.comp' library:

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

                 id="sap-ui-bootstrap"

                 data-sap-ui-libs="sap.m, sap.ui.comp"

                 data-sap-ui-theme="sap_bluecrystal">

         </script>

But when I run the application I get:

GET https://openui5.hana.ondemand.com/resources/sap/ui/comp/library-preload.json 404 (Not Found) sap-ui-core.js:27

2015-08-26 14:27:55 failed to preload 'sap.ui.comp.library-preload': Not Found -  sap.ui.ModuleSystem sap-ui-core.js:80

GET https://openui5.hana.ondemand.com/resources/sap/ui/comp/library.js 404 (Not Found) sap-ui-core.js:27

Uncaught Error: failed to load 'sap/ui/comp/library.js' from https://openui5.hana.ondemand.com/resources/sap/ui/comp/library.js: 404 - Not Found sap-ui-core.js:80

2015-08-26 14:27:56 registerResourcePath ('testvaluehelp', './testvaluehelp/') -  sap.ui.ModuleSystem

What am I missing? How can I use the ValueHelpDialog control?

Regards,

Omri

Former Member
Former Member replied

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question