I need to call a view in a Dialog Control with an input parameter.
Something like :
var myView1 = sap.ui.view({
type:sap.ui.core.mvc.ViewType.JS,
viewName:"my.own.view"
});
var oDialog = new sap.ui.commons.Dialog({
modal : true,
//buttons : [ oBtnBack, oBtnNext, oBtnCancel ],
content : [ myView1 ]
});
I need the myView under the content property of Dialog to be called with an input parameter.
The requirement is that the view has some input parameter to be passed. How can i pass the parameter and call the view in a Dialog control.