Skip to Content
avatar image
Former Member

How to Populate Node Within Parent Node?

Hi @,

I have nodeA within that nodeB .nodeA can have multiple nodeB.

But the contents of nodeB have to be derived from one attribute in nodeA.

I am not able to attach the nodes to the nodeA.

How can we do this?

Regards

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • avatar image
    Former Member
    Oct 14, 2008 at 11:55 AM

    hi!

    i think multiple child nodes are not possible.

    Edited by: Vishal Anand on Oct 14, 2008 1:56 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 14, 2008 at 11:56 AM

    hi,

    You can not have multiple child nodes of the same name under a parent node.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi @,

      I am sorry, my nodes have different Name I was just quoting an example.

      nodeB is LineItem kind of field for nodeA so nodeB will contain multiple elements within .

      nodeA

      ---attrA

      ---nodeB

      -


      attrB

      attrA and nodeB are at same level.

      Regards

      Edited by: BeyondThe obvious on Oct 14, 2008 1:58 PM

      Edited by: BeyondThe obvious on Oct 14, 2008 1:59 PM

  • avatar image
    Former Member
    Oct 14, 2008 at 12:05 PM

    Hi,

    I think you might be looking for Singleton/Non Singleton nodes and Supply Function kind of thing. Just go through the following thread and also various links provided in it, it may help you.

    [supply-function]

    Regards

    Raghu

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 14, 2008 at 01:48 PM

    Hi,

    "But the contents of nodeB have to be derived from one attribute in nodeA"

    you can derive the value of node A, create an elemnt of node B, depending on value of attributes of node A set the data and then bind it to node B...

    "I am not able to attach the nodes to the nodeA."

    Are you trying the map the two nodes using a data link?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi ,

      In my case I will get 3 to 4 values out of a string and then how can I add them to the node?

      Regards

  • avatar image
    Former Member
    Oct 14, 2008 at 02:16 PM

    hi

    Please go through this link

    Supply functions in WebDynpro

    It will help u .It gives info on supply fun.related to ur Q

    Regards

    Ruturaj

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 05, 2009 at 03:55 PM

    Hi,

    Can u tell me how did you resolve this issue?

    Thanks & regards,

    Lokesh

    Add comment
    10|10000 characters needed characters exceeded