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: Nicolas Petton
Subject: Re: [Help-smalltalk] Iliad - updating elements
Date: Tue, 14 Jul 2009 01:47:51 +0200

Le mardi 14 juillet 2009 à 01:44 +0200, Paolo Bonzini a écrit :
> >> 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:).

I already added Iliad.Id>>printOn:, just update :)

Cheers!

Nico

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée


reply via email to

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