|
|
|
|
Re: Collecting Error/Warning messages produced by a Node Factory [message #987552 is a reply to message #956678] |
Tue, 27 November 2012 06:44 |
Hazem ELRAFFIEE Messages: 61 Registered: September 2012 |
Member |
|
|
I see a strange attitude by sapphire now !! I don't know if I am the reason behind it, or it's a limitation in sapphire.
In the example mentioned above, for small number of "Variable" Nodes, I faced no problem at all. But when I had a file with about 50 "Variable" Nodes, I noticed that validating a Property in a "Variable" takes very long time. Let's say I have a property "Value" in the "Variable" Node with a Validation Service, I did some investigation and found out that when an edit happens in the "Value" of 1 "Variable", all Variables' Values are re-checked (their Validation Services are recalled).
So, for a file with 5 or 6 "Variables", Nothing to notice. But for a bigger file (not so big, 50 or 60 Variables), the problem appears. Do you have any idea what is the reason behind that?
** UPDATE **
I removed the listeners from the "init" and "dispose" functions, and that made the Validation Service not to be recalled for all "Variables", but it's called for a single edit (1 key clicked) from 4 to 5 times !! Is that normal?
[Updated on: Tue, 27 November 2012 08:52] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03956 seconds