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

Re: how to pass data from one view to another xml view

$
0
0

Hi Mate

 

 

As u said i have changed the component.js

 

  1. {
  2.           pattern : "Home/{ctx}",
  3.           name : "Home",
  4.           view : "Home"
  5. }

 

i tried to bring the context to detail page but still i am not able to see the properties in evt object

 

 

Master Page Controller:

 

sap.ui.core.UIComponent.getRouterFor(this).navTo("porder", {
//from: "main",
product: oItem.getBindingContext('Northwind').getPath().substr(1),
//ctx : bindingContext
//tab: "supplier"
}, false);

 

Component.js:

 

 

    pattern:"porderDetail/{product}",
name : "porder",
viewPath : "com.viz.view.Detail",
view : "Detail",
//viewLevel : 1,
targetControl : "splitApp_viz",
targetAggregation : "detailPages"
}

 

 

i am not able bind any thing in the detail xml view

 

 

below i have mentioned the screens...

 

masctrl_010615.JPG

 

detctrl_010615.JPG

 

cmptnjs_010615.JPG

 

 

 

detview_010615.JPG

 

 

My Detail view still look empty:

splitview_010615.JPG


Viewing all articles
Browse latest Browse all 8944

Trending Articles



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