Skip to Content
Former Member
Aug 01, 2005 at 07:46 AM

Dynamic Context Node Copying question


I am trying to dynamically copy some context nodes from my component controller to the view controller. In the source context, I have a node whose "Multiple" property is set to true.

I use the function addMappedChild to copy the attribute info, but the copied node always has "Multiple" set to false!! In the definition of addMappedChild there is no paramter for "Multiple". How do I do this?



public IWDNodeInfo addMappedChild(java.lang.String name,
                                  java.lang.Class elementClass,
                                  boolean singleton,
                                  boolean mandatorySelection,
                                  boolean multipleSelection,
                                  java.lang.String mappedPath,
                                  boolean selectionMapped,
                                  boolean initializeLeadSelection)