cancel
Showing results for 
Search instead for 
Did you mean: 

validate node

Former Member
0 Kudos

invalidate is to clear the old data and supply with new one ?

what is the purpose of validate node?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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.