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
selectedItems = oEvent.getParameter("selectedItems");
routing code:
{
"pattern": "data/{value}",
"name": "page2",
"target": "page2"
}
oRouter.navTo("page2", {
value : JSON.stringify(selectedItems)
}
and getting it in another controller as:
var output = JSON.parse(oEvent.getParameters("arguments").value);
alert(output);
The error I am getting is Uncaught TypeError: Converting circular structure to JSON
selecteditemis a nested object, might contain methods too. it will contain itself, somewhere in there by the sound of things. look inside it in the debugger to see the values you need. - Jorg