Hi all,
I am setting up an application in whiche there is a first screen for selection that then take you to a Master/detail screen.
I configured my routing like this in manifest.json :
"routing": {
"config": {
"routerClass": "sap.m.routing.Router",
"viewType": "XML",
"viewPath": "SD2.view",
"controlId": "app",
"targetAggregation": "pages"
},
"routes": [
{
"pattern": "",
"name": "main",
"view": "main",
"targetAggregation": "pages",
"targetControl" : "app"
},
{
"pattern": "splitScreen",
"name": "split",
"view": "SplitApp",
"targetAggregation": "pages",
"targetControl" : "app",
"subroutes" :[
{
"pattern" : "splitScreen",
"name" : "master",
"view" : "Master",
"targetAggregation" : "masterPages",
"targetControl" : "SplitIt",
"subroutes" : [
{
"pattern" : "splitScreen",
"name" : "detail",
"view" : "Detail",
"targetAggregation" : "detailPages",
"targetControl" : "SplitIt"
}
]
}
]}
]
The problem is that I get a message when SplitApp is shown :
Control with ID SplitIt could not be found - EventProvider sap.ui.core.routing.Target
The Master View is correctly rendered on screen but the detail is totally empty ...
Would anyone have an idea ?
Regards,
Ncolas
}