Quantcast
Channel: SCN: Message List - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 8124

Need help!!

$
0
0

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.


Viewing all articles
Browse latest Browse all 8124

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>