Hello experts,
I'm creating a UI5 application where I'm navigating from a Full Screen Tiles View (id= app) to a Split App (id = splitAppId) View.
The problem arises in the Split App view. Whenever I click an item in the Master page, the whole view navigates to the Details view (full screen) instead of updating the detail view in the split app.
Split App View
onClick:(navigates to a full screen view)
May I know what I'm doing wrong?
Here's the routing section in my manifest:
"routing":{
"config":{
"routerClass":"sap.m.routing.Router",
"viewType":"XML",
"viewPath":"sap.ui.demo.test.view",
"controlId":"app",
"controlAggregation":"pages"
},
"routes":[
{
"pattern": "",
"name":"Overview",
"target":"overview",
"targetControl":"app"
},
{
"pattern":"splitApp",
"name": "SplitApp",
"target":"splitAppView",
"targetControl":"app",
"subroutes" : [
{
"pattern": "splitMaster",
"name": "splitmaster",
"targetAggregation" : "masterPages",
"targetControl":"splitAppId",
"target": [
"splitDetailView",
"splitMasterView"
],
"subroutes" : [{
"pattern": "splitDetail/{SoId}",
"name": "splitdetail",
"targetAggregation" : "detailPages",
"target": [
"splitMasterView",
"splitDetailView"
]
}]
}
]
}
],
"targets":{
"overview": {
"viewName":"Overview"
},
"splitAppView":{
"viewName" : "splitApp.SplitApp"
},
"splitMasterView": {
"viewName": "splitApp.SplitMaster",
"viewId": "splitMasterView"
},
"splitDetailView": {
"viewName": "splitApp.SplitDetail",
"viewId": "splitDetailView"
}
}
}
Thank in advance!