on 07-31-2006 6:14 AM
Hi,
I got the following error while crating DropdownByIndex as dynamically. I am using the
following code to create node.
IWDNodeInfo dropnode = multipleinfo.addChild("dropnode" , null, true, false, false, true,
false, false, null, null, null);
Error: must not add elements to a Node of cardinality 0..1 or 1..1
By,
Santhu.
Hi Santhu,
Please try this code for creating dynamic node:
IWDNodeInfo dropnode = multipleinfo.addChild("dropnode" , null, true, false, true, true, false, true, null, null, null);
Kind Regards,
S.Saravanan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The DropdownByIndex is bound to a context node so once your dropdown is there on the UI you have to bind it to a context node of 0..n cardinality. You have to add elements to the context node and it will show in the dropdown. So I think the code for that should be that you should add elements to the context node by getting a reference to that node.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.