on 2007 Aug 30 12:29 PM
Hi all,
What's the difference among the two ways to get a node?
1 -
wdContext.nodeRequest_EmployeeRegisterViDocument_registerEmployee()
2 -
wdContext.currentRequest_EmployeeRegisterViDocument_registerEmployee()
Regards
wdContext.nodeRequest_EmployeeRegisterViDocument_registerEmployee() refers to the complete node.
A node can have n number of elements depending upon the cardinality of the node.
wdContext.currentRequest_EmployeeRegisterViDocument_registerEmployee()
refers to each such element inside the node.
Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
wdContext.nodeRequest_EmployeeRegisterViDocument_registerEmployee() refers to the entire node elements.
wdContext.currentRequest_EmployeeRegisterViDocument_registerEmployee() refers to the current node element.
To give you an example, suppose your node has 2 attributes, Name and Address.
Now you can have multiple set of Name and Address attrbutes stored in that node.
Suppose if this node is bind to a table UI and your cursor is pointing to one of the values in the node, then you will use currentNode object of that node.
Ashutosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
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.