on 02-14-2017 2:03 PM
Hi,
I have implemented a value help dialog for an input field. The problem is the related sap.ui.comp library which is needed for the value help. When I define the sap.ui.comp in my html:
<script id="sap-ui-bootstrap" src="resources/sap-ui-core.js"
data-sap-ui-theme="sap_bluecrystal" data-sap-ui-libs="sap.m, sap.ui.comp"
I get an error and the app is not loaded at all:
When I leave the sap.ui.comp undefined, of course my value help does not work:
What do I need to do to and why is it complaining about sap.ui.rta ?
Thanks,
Tim
Any ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually I have no good idea whats going wrong on your machine.
You could have a look onto https://jsbin.com/catexocofu/edit?html,console,output
There you can see how you can check which ui5 libraries are loaded.
Have you tried to include an external SAPUI5 version via URL?
(You can testwise use the one of the linked example.)
Hey Tim,
which SAPUI5 version are you using? Which platform? What's the source of your SAPUI5 package?
Have you checked if RTA is available in the folder structure?
In sap.ui.comp there is a dependency maintained to rta, that's the reason why it is loaded, too.
BR
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Quick check: are you using OpenUI5 or SAPUI5? sap.ui.comp is not part of OpenUI5.
Cheers,
Pierre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.