on 08-01-2005 8:46 AM
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?
Thanks
Walter
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)
Walter,
Actually this is not a "Copying", but "Mapping" --> you dynamically map source in component controller to target in view controller.
The mapped node inherits cardinality from origin node, so if node in your component controller is multiple, then node in view controller will be multiple as well and vica versa.
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you making like dscribed here
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/dy... creating, building, and mapping a context in web dynpro.pdf
page 14?
Best Regards, Maxim r.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.