4 Replies Latest reply: Dec 11, 2010 9:25 PM by Robin van het Hof RSS

Question regarding IWDTree and context Value Node naming

Robin van het Hof
Currently Being Moderated

Hi,

 

I have a question regarding the IWDTree / IWDTreeNodeType components.

 

I have a context looking like this:

 

Context
  + ResponseNode
    + PersonNode (1..1)
      + PersonAddressNode                    (empty node, placeholder)
      | + AdresNode (0..n)
      + PersonChildNode                      (empty node, placeholder)
      | + PersonNode (0..n)
      |   + PersonAddressNode                (empty node, placeholder)
      |     + AddressNode (0..n)
      + PersonParentsNode                    (empty node, placeholder)
        + PersonNode (0..n)
          + PersonAddressNode                (empty node, placeholder)
            + AddressNode (0..n)

 

The context represents a person, a person's address, and a person's children and parents with their respective addresses.

As a result, on different branches, a PersonNode and AddressNode can appear.

 

And for some strange reason, all PersonNodes and AddressNodes link to the same ResponseNode.PersonNode.PersonParentsNode.PersonNode and ResponseNode.PersonNode.PersonParentsNode.PersonNode.PersonAddressNode.AddressNode respectively, irregardless of their branch...

 

Is it illegal to have multiple PersonNode and AddressNode node names, and should they be named uniquely?