help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Iliad - updating elements


From: Stefan Schmiedl
Subject: Re: [Help-smalltalk] Iliad - updating elements
Date: Tue, 14 Jul 2009 08:04:37 +0200

On Tue, 14 Jul 2009 01:44:53 +0200
Paolo Bonzini <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]