On Tue, 14 Jul 2009 01:44:53 +0200
Paolo Bonzini <[email protected]> wrote:
> >> Yes, you can. It's just that they are made for different purposes.
> >
> > So I went along and replaced "self session nextId printString" with
> > "Iliad.Id new: 8". Imagine my surprise when I found the following:
> >
> > <script>
> > $(document).ready( function() { $("#Iliad.Id (97 104 50 57 114 113
> > 112 97 )").focus(); } ); </script>
> >
> > Ok, I'll do the right thing and subclass it .-)
>
> No, what you should do is override Iliad.Id>>#displayOn: (or
> #printOn:).
Nah ... that would be fiddling in foreign code ... I don't do that ;->
The subclass stays, because 8 random characters for in-page ids
"should be enough for everyone".
s.
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk