Skip to Content

ViewContainer UI element

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on May 03, 2005 at 12:45 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 29, 2005 at 09:55 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 29, 2005 at 09:58 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 29, 2005 at 11:31 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.