on 02-13-2007 9:55 PM
Hi all,
I am binding a table to the data from a function module.
But I can only display one row in my table even though the function module returns multiple rows.
Here is my node structure:
--ParentNode (cardinality: 0..n)
-
OutputNode (cardinality: 0..1) (cannot change this cardinality)
-
EmpNode(cardinality: 0...n)
-
Attr1
-
Attr2
-
Attr3
-
SelectNode(cardinality: 0...n)
-
boolAttr1
The datasource of the table is ParentNode. In the table i want the values of Attr1, Attr2, Attr3 and boolAttr1.
Any help is very much appreciated
Thanks
Hi,
Check the size of the which node bound to the table.
OR
Invalidate the output node after the model execute method.
Or
change the cardinality of the outputnode try in customcontroller output node properties make it 0..n.
Try like this.
After the execute method.
wdContext.node<outputnode>().invalidate();
int size = wdContext.node<boundednodeto the table>().size();
If size will get more records.
Then u may find where s the error.
Thanks,
Lohi.
Message was edited by:
Lohitha M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I really appreciate for your replies.
I fixed it myself. I created a value node and copied all the attributes into this temporary value node and then bound the table to this temp value node.
Thank you for taking time to reply.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could u be more clear on where to check for displayed table length?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check the displayed table length is not 1.
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.