on 11-10-2016 4:59 PM
Hi experts,
I developed the following app on sapUI5:
Then I had to write another app=>launchpad. Which purpose is to contain the master-detail app and another. The launchpad page looks like this:
So, the previous App should be visualized when the first form is clicked (the other form is still empty). The problem is that when I click on it I get the errors:
Control with ID splitapp could not be found - EventProvider sap.m.routing.Target
Uncaught TypeError: Cannot read property 'oTargetControl' of undefined(…)
These errors are fired by the onPress function:
onPress: function () {
var oRouter = sap.ui.core.UIComponent.getRouterFor(this);
oRouter.navTo("app");
}
In particular by --> oRouter.navTo("app");
I tried to find a solution on the questions but without any success. If someone would help me in understanding where is my error I would be really thankful.
Here there is the link to my project:
https://github.com/MBTechedge/Launchpad-Master-Detail.git
Thank you in Advance,
Best Regards,
Mattia Baldari
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.