Skip to Content
author's profile photo Former Member
Former Member

How to bind a value node inside a value node

In the help of webdynpro, if you search for:

"Initializing the Controller Context of a View"

the first result shows a sample on how to bind a node inside a node.

At the end, it does the following:

newCustomerNodeElement.nodeAddress().bind(newAddressNodeElement);

I am trying this in Webdynpro but it does not work.

I am not able to access the second node (in this case nodeAddress).

It only returns .node()

Can you show me a sample on how to create this.

Regards,

François

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 25, 2004 at 07:53 AM

    Hi Francois,

    assuming you have a value node A defined with a childnode B, then this:

    I<Controller>.IAElement ael = wdContext.nodeA().createAElement();
    ael.nodeB().bind(bElement);

    is only possible, if child node B is <b>not</b> a singleton node. So simply set the singleton property to false for your specific child node.

    Hope that helps.

    Regards

    Stefan

    Add a comment
    10|10000 characters needed characters exceeded

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.