Ciao, i have this code into Pharo 4.0 Seaside 3.1
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi Dario,
This sounds like a known bug in GemStone when using temporary variables in separate callbacks with the same lexical scope. What you can do to work around this is to not assign directly to the variable but wrap the value in a holder. For example: dialogId := ValueHolder new. and in your callback use: dialogId value: xxx and dialogId value to assign and retrieve the value. Does this work for you? cheers, Johan
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Ciao Johan,
Yes. But ValueHolder don't know: value and value: methods. I need to use: contents and contents: Do you agree? Very thanks, Dario
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Yes. #contents
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |