Skip to Content
0

SAPUI5 routing - Control with ID splitapp could not be found - EventProvider sap.m.routing.Target

Nov 10, 2016 at 04:59 PM

398

avatar image

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

master-det.jpg (140.6 kB)
launchp.jpg (38.7 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers