cancel
Showing results for 
Search instead for 
Did you mean: 

ViewContainer UI element

0 Kudos

Hi,

how is it specified which view is contained in a view

container?

Among ViewContainer's propertis I do not see any that

is used to specify the contained view.

regards

Sasa

Accepted Solutions (1)

Accepted Solutions (1)

BeGanz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sasa,

this topic is covered in the official Web Dynpro tutorial 'View Compositions (13)': https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/tutorial on view compositions.htm

Regards, Bertram

Answers (3)

Answers (3)

0 Kudos

Hi,

thanks for the answer. It works as you said but I

do not understand the real reason why this property

is not shown in the property view of this UI element.

What would be wrong if this property is shown in the

property view?

The "contained view" is probably the most important

property of a view container UI element and it should

be easy and intuitive to assign its value.

In general, what are the principles of setting inherited

properties for an UI element in NWDS?

regards

Sasa

Former Member
0 Kudos

1. You may put several views in view container element.

2. If [1] is true then you have to define default one.

3. If [1] is true you also have to define outbound / inbound plugs (or use existing) an link them.

So it is more work then just assign simple value. Therefore Window Designer exists.

VS

Message was edited by: Valery Silaev

Former Member
0 Kudos

Web Dynpro Explorer -> Windows -> <Component> -> <View>

There you get a node for each ViewContainerUIElement. In the context menu of such a node, select "Embed View".

Armin

Former Member
0 Kudos

Hi,

This UI element does not define its own properties, but inherits all properties from the abstract base classs "UIElement".

Select Windows in Webdynpro project explorer->Select the view ->under that you can see viewcontiner and you can embed a view.

Regards, VIP