on 07-27-2007 10:40 AM
invalidate is to clear the old data and supply with new one ?
what is the purpose of validate node?
Hi,
Suppose you have model node and a Values node inside that model node..
The purpose of the Model node is to display some info about the Product..
And the model node inside that is to input some values for the user..
If the user needs to put a new value by clearing all the values , you can use the invalidate function..
If you invalidate the model node(AS the value node is inside the Model noew) you will get the whole node as it was before user enter any data
AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1. When you call the invalidate() method on a node, it clears the element list.
2. When you call the validate() method on a node, one of the following will occur in order:
i) If the node is valid, nothing further is done
ii) If there is a supply function, it will be called
iii) If the cardinality of the node is 1..1 or 1..n, one element will be added
iv) An empty collection is bound to the node otherwise
Regards,
Satyajit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
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.