[Seaside] Re: Strange error with
WAHtmlAttributes>>writeKey:value:on:
Philippe Marschall
philippe.marschall at gmail.com
Tue Apr 3 17:54:38 UTC 2007
2007/4/3, Hilaire Fernandes <hilaire2006 at laposte.net>:
> Philippe Marschall a écrit :
>
> >> (html select)
> >> list: entities;
> >> selected: (entities ifNotEmpty: [selectedEditEntity :=
> >> entities first]);
> >> labels: [:entity | entity entityName];
> >> callback: [:anEntity | selectedEditEntity := anEntity]
> >>
> >>
> >> When entity are IFIAdult object with the = and hash methods implemented
> >> I have the following error bellow.
> >>
> >>
> >> It looks like the following code in writeKey:value:on: is causing the
> >> error:
> >>
> >> writeKey: aKey value: aValue on: aStream
> >> aValue = false ifFalse: [
> >> [...]
> >
> > Does IFIPerson >> #= send #isKindOf:? If not add it.
>
> No as I thought it was bad behavior
It's bad everywhere but in #= (and tests).
> (kind of slowing things).
premature optimization
especially if you're doing string comparison afterwards
Philippe
> Hilaire
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
More information about the Seaside
mailing list