on 03-05-2018 10:16 AM
Hi,
I would like to add a sap.m.MessagePage to return of sap.ushell.Container.getRenderer within a custom plugin for Fiori Launchpad on load. To be able to do so, Im assuming I would need to know what sap.ushell.Container.getRenderer returns and hence have some API documentation on sap.ushell.Container. I took a look to https://sapui5.hana.ondemand.com/#/api/ but wasnt able to find any documentation on this class. Seems to be related to https://sapui5.hana.ondemand.com/#/api/sap.ushell.renderers.fiori2.Renderer/overview.
So could somebody tell me where I can find some API documentation on sap.ushell.Container.getRenderer?
Thanks,
kind regards
Hi Don,
This page might help.
https://sapui5.hana.ondemand.com/1.38.6/docs/api/symbols/sap.ushell.html#.Container
Thanks,
Ron Nero
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ron,
thank you very much. Im unfortunately still not clear why getRenderer method isnt descripted there, since due context of use:
sap.ushell.Container.getRenderer("fiori2");
I (old Java tinkerer) have assumed sap.ushell.Container is a regular class and available methods will be descripted there, analogous to JavaDoc e.g. But Im probably missing something fundamental and dont want to bother you with this, but will ask my more SAPUI5 experienced colleagues regarding this topic.
However, meanwhile I gave up trying to render an instance of sap.m.MessagePage into the shell, since it obviously doesnt offers any direct methods to place arbitrary controls and MessagePage dont offers methods like open() or show() (placeAt() inherited from sap.ui.core.Control didnt worked for me, since shell isnt offering a container, as far I understood).
I will try to go with sap.m.Dialog resp. sap.ui.core.HTML instead. This seems to work, but Im currently facing some strange problems there. I will open a new thread, because it doesnt have something to do with my entire question.
Thank you for your friendly support again,
kind regards
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.