Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3323

Navigation from Full Screen to Split App view - help

$
0
0

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

split app.PNG

 

onClick:(navigates to a full screen view)

split detail.PNG

 

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!


Viewing all articles
Browse latest Browse all 3323

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>