[Seaside] temp var puzzle
adi at netstyle.ch
Mon Feb 6 14:49:51 CET 2006
Using a state holder stored in the temp should work too. Like that
you would not need an i-var.
On Feb 6, 2006, at 13:16 , Bany, Michel wrote:
> 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
> to the second callback. In Squeak, the value is not available, the
> 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
> in VW.
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
More information about the Seaside