on 10-23-2015 8:12 AM
Why don't you just put it into your .html file?
Then, after the app is up, remove it or replace by the view.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maybe it is required to add the dialog to the page's content, like:
<script>
var oBusyDialog=new sap.m.BusyDialog("oBusyDialog");
oBusyDialog.placeAt("content");
oBusyDialog.open();
</script>
<body class="sapUiBody" role="application">
<div id="content"></div>
</body>
because the dialog should be placed into some <div> tag on the page.
Hi Sanjo,
If you're using a JS view, try like this on your createContent() method (below example shown using busy dialog control) -
var oGlobalBusyDialog = new sap.m.BusyDailog({title:"Processing..."}); //Create a Global BusyDialog
this.addEventDelegate({
onBeforeShow:function(){
oGlobalBusyDialog.open(); //Opens the busy dialog on before show of view
}
onAfterShow:function(){
oGlobalBusyDialog.close(); //Closes the busy dialog on after show of view
}
},this);
If you're using XML view, same logic you can have it in onInit of controller. But instead of this, it will be this.getView();
Regards,
Sai Vellanki.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.