[Seaside] [VW] 2.8a1.390 now available on public store

Philippe Marschall philippe.marschall at gmail.com
Sat Jul 7 10:29:14 UTC 2007

2007/7/7, Lukas Renggli <renggli at gmail.com>:
> > Does #displayString in Squeak always return an instance of String? It doesn't here...
> Squeak doesn't have #displayString, we use this just to keep
> portability with VisualWorks. #displayString defaults to #asString in
> Squeak. Isn't this supposed to return a string as its name says?

The reason we went through the whole #displayString pain (implementing
it in Squeak, changing every sender) is because we were told that we
could not use #asString in VW and that #displayString was the method
to use that would always return a String for displaying. Apparently
this is not the case. I'd be interested where this happens. If the
#displayString implementors in VW can't be fixed and are few, I'd
prefer it if we #encodeOn: would be overridden in these cases. Note
that we already have two #asString suckers. WARenderingContext >>
#nextKey and WATagBrush >> #id. I'd be happy if we could get rid of
those by implementing #encodeOn: in Symbol in the VW port.


> Lukas
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the Seaside mailing list