[Seaside] temp var puzzle
Bany, Michel
mbany at cincom.com
Mon Feb 6 13:16:27 CET 2006
Hi Avi,
While backporting some code from VW to Squeak, I found strange that
something that works fine in VW, does not work in Squeak :
renderContentOn: html
| temp |
html form:
[html textInputWithCallback:
[:v | temp := v].
html submitButtonWithAction:
[self inform: 'Hello ', temp]].
In VW, the value of "temp", computed by the first callback, is available
to the second callback. In Squeak, the value is not available, the only
solution I found was to make "temp" an i-var.
The same difference can be observed with the canvas api.
Do you think anything could be done to have Seaside behave in Squeak
like
in VW.
Michel.
More information about the Seaside
mailing list