SAPUI5: Passing Data Between Controllers While Navigating (in addition to routing parameters)
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I want to pass data between two controllers (in addition to routing parameters) and I would like to know the correct way to do this. For example: when I navigate to pattern /order/{id} , I do this in the view controller: this.getRouter().navTo("order", { id: sOrderId }); I want to pass additional JSON object which I don't want to be part of routing parameter. What should I do in this case? --edit Wanted to add what I like to achieve with this I want pass data from master to detail. Both master and detail page has individual routing patterns