on 02-28-2018 8:46 AM
Hi,
I am trying to pass the values of selected items from multiComboBox to another view to bind it in a table. I am getting the selected values as
view1.controller.js code:
var selectedItems = [];
selectedItems = oEvent.getParameter("selectedItems");
oRouter.navTo("page2", {
value : JSON.stringify(selectedItems)
}
manifest.json code:
{
"pattern": "page2/{value}",
"name": "page2",
"target": "page2"
}
view2.controller.js code:
var output = JSON.parse(oEvent.getParameters("arguments").value);
alert(output);
I am getting the error as
Uncaught TypeError: Converting circular structure to JSON
Can any one help me with this?
Thanks,
Janani
just put it in model, no need to pass through url
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It will be helpful if you refer me some blogs related to this.
Thanks,
Janani
User | Count |
---|---|
68 | |
8 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.