on 12-10-2014 6:10 AM
Dear colleagues,
I have 2 UI5 applications. Let's say A and B. And A depends on B. They have been deployed as BSP applications on netveawer server.
My question is the js files in B can't be loaded into A on the server.
What's the UI5 reference loading policy? or how to deploy these 2 appliations then those dependent js files can be loaded?
Thanks!
Regards
Eric
sapui5 uses require() & declare() concept for reference..
you need to declare a call using jQuery.sap.declare("com.test.something.other");
you can then use this class in another place, by
jQuery.sap.require("com.test.somthing.other");
make sure you do not do a cyclic dependency, as this would put them in an infinite loop
if they are in different applications, you can jQuery.sap.registerModule() concept to remotely load js classes..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.