Hello,
I would like to ask you how to pass multiple values to another view. Right now I can handle it with just one value that looks like this:
Manifest:
"routes": [ { "pattern": "list/{myvalue}", "name": "list", "target": "list" } ]
Controller from first view:
this.getRouter().navTo("list", { myvalue: "123" });
Controller from second view:
onInit: function() { this.getRouter().getRoute("list").attachPatternMatched(this._onBindDataToTable, this); }, _onBindDataToTable: function(oEvent) { var sObjectId = oEvent.getParameter("arguments").myvalue; }
But as mentioned I'm passing only one string value.
1. How can I pass multiple values?
2. When I pass a string, it's working ok. But this doesn't count for passing objects or arrays. How can you pass arrays or objects to the second view?
Please with code examples. Thank you.