Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3177

Re: view navaigation from detail1 to master2 splitapp

$
0
0

i tried with the below  code in Component.js file and it is navigating from resource1->master1->detail1

 

but not navigating further from detail1 to master2 split app. please help.

 

routes: [{

  pattern: "",

  name: "resource1",

  view: "resource1",

  targetControl: "pickContent"

  }, {

  pattern: "split",

  name: "app",

  view: "App",

  targetControl: "pickContent",

  subroutes: [{

  pattern: "{entity}",

  name: "master",

  view: "Master",

  targetAggregation: "masterPages",

  preservePageInSplitContainer: true,

  targetControl: "idAppControl",

  subroutes: [{

  pattern: "{entity}/:tab:",

  name: "detail",

  view: "Detail",

  targetAggregation: "detailPages",

  targetControl: "idAppControl",

  subroutes: [

  {

  pattern:"{entity}",// "master2",

  name: "master2",

  view: "Master2",

  //targetAggregation: "masterPages",

  //targetControl: "idAppControl",

  subroutes: [

  {

  pattern: "{entity}/:tab:",

  name: "detail2",

  view: "Detail2"

  //targetAggregation: "detailPages"

  }

  ]

  }

  ]

 

  }]

  }]

  },

 

Message was edited by: vamshi krishna


Viewing all articles
Browse latest Browse all 3177

Trending Articles



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