Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 138163

Fiori app - getContext on Detail page SAPUI5

$
0
0

I am on my way building a Fiori like App using SAPUI5. I have successfully built the Master page, and on item click I set the context and navigate to Detail page.

The context path from Master page is something like "/SUPPLIER("NAME")". The function in App.controoler.js is as follows:

handleListItemPress : function (evt) {
        var context = evt.getSource().getBindingContext();
        this.nav.to("Detail", context);

But I would like to know how can I access this context in the deatil page. I need this because I need to use $expand to build the url and bind the items to a table.

Any suggestions would be highly appreciated.

Thanks


Viewing all articles
Browse latest Browse all 138163

Trending Articles



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