on 04-15-2015 8:59 PM
Hi all,
is there any sapui5 control to embed a URL?. If not , what would be better? iframe / object / embed / load ( ajax )
Thanks
there is a sap.ui.core.HTML control you can do something like
oHTML = new sap.ui.core.HTML({
});
//Now embed the iFrame
var iframeID = this.sId + "iFrame";
oHTML.setContent("<iframe id='" + iframeID + "' style='width:100%;height:100%;z-index:-1' width='100%' height='100%'></iframe>");
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you all. The iframe/embed works fine but the problem is that if I click on any item in the embedded page, it goes out of the application. I want that link opens in the iframe, so do not leave the aplication.¿Is this possible ?. thanks
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 |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.