cancel
Showing results for 
Search instead for 
Did you mean: 

What is best component to use to swap content areas?

Former Member
0 Kudos

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).

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

OK I think what I need to use is a NavContainer or an OverlayContainer. I wonder how these compre? Looking for examples.

AndreasKunz
Advisor
Advisor
0 Kudos

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

Answers (2)

Answers (2)

jmoors
Active Contributor
0 Kudos
Former Member
0 Kudos

Can I add my XML view in a OverlayContainer's addContent?