- Code: Select all
renderContentOn: html
....
html form: [
html select
list: ... ;
selected: ... ;
onChange: 'submit()';
callback: [ :value | self a: value ].
].
...
Now we assume, that instance variable "b" and "c" of the receiver are set within this method. "a" is not set. But - due to browser activities - somewhere later the user selects an item and the callback is executed and "a" gets a value (somewhere in the future).
After the execution of this callback the renderContentOn: method is executed again, BUT NOW at the beginning of this method variable "b" and "c" are NOT set and only variable "a" is set.
That is not, what I would expect .... or should I ?