on 09-10-2014 7:48 PM
Imagine if you will a OpenUI5 application that has access to the OpenUI5 components.
At the top of the viewport is the banner area.
Everything below the banner is considered the applications content area.
Most of the time that area displays application content.
But if the user has a certain privileged capability then after a certain key sequence or button press that content area has to be replaced with privileged level content. After doing work the privileged worker can then close out that privileged content part and return to the regular application content.
Do you know of a component that can swap out these 2 large content areas?
One for application and the other for privileged content.
Oh and also hopefully when swapped out the content is not lost (and does not have to be rebuilt).
OK I think what I need to use is a NavContainer or an OverlayContainer. I wonder how these compre? Looking for examples.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Erich,
NavContainer is definitely an option. OverlayContainer not so much (it is rather for a popup covering the ux3.Shell control).
But there doesn't need to be a control. If you use plain HTML for the overall layout, you can add any content to the lower <div>, and replace that content later.
Regards
Andreas
Wouter Lemaire's blog on nested routing might also be of interest.
http://scn.sap.com/community/developer-center/front-end/blog/2014/02/17/nested-ui-routing-in-openui5
Regards,
Jason
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can I add my XML view in a OverlayContainer's addContent?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
8 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.