Hello, I would like to ask a question regarding the reevaluation of S

Hello,

I would like to ask a question regarding the reevaluation of SAIL interfaces, one that I have not been clear on so far.
Does ANY user interaction with SAIL components cause the whole interface to be reevaluated?
For example, changing the value of a radioButton or the value of a textField, would that cause the whole SAIL interface to be reevaluated?
And reevaluation, if I have understood correctly, means that all expressions within all SAIL components of an interface will be reevaluated, even to return the same result that is already being displayed.

Also, I have a question regarding the with() function, in relation to my previous question, that stems from the implementation of cascading drop down fields.

We have been using a series of cascading drop down fields where the choices of each drop down field must be updated from the database using the selected value of the previous drop down field. Now, given that each drop down field is within a ...

OriginalPostID-156756

OriginalPostID-156756

  Discussion posts and replies are publicly visible

Parents
  • @sikhivahans @joshl Thank you both for your inputs. You have helped a great deal in clearing up the issue of reevaluation.

    @sikhivahans In the first question that you answered you mentioned, in parentheses, the use of a with() function. Just to be clear, my understanding is that even without a with() function present the whole interface is reevaluated when the value of ANY component has been changed. Am I correct?

    The with() function simply gives us the ability to use variables whose value usually depends on other variables outside the with() so as to evaluate a new value for the with() variable every time the whole interface is reevaluated.

    As you have very clearly stated, it all depends on the needs of the interface.
Reply
  • @sikhivahans @joshl Thank you both for your inputs. You have helped a great deal in clearing up the issue of reevaluation.

    @sikhivahans In the first question that you answered you mentioned, in parentheses, the use of a with() function. Just to be clear, my understanding is that even without a with() function present the whole interface is reevaluated when the value of ANY component has been changed. Am I correct?

    The with() function simply gives us the ability to use variables whose value usually depends on other variables outside the with() so as to evaluate a new value for the with() variable every time the whole interface is reevaluated.

    As you have very clearly stated, it all depends on the needs of the interface.
Children
No Data