Subject: Re: question on messages
From: francois bousquet (bousquet@cirad.fr)
Date: Mon Dec 09 2002 - 09:12:34 CET
Hi
This has been fixed.
Change the CormasModel initObjects method code
to
self class passiveClasses
do:
[:a |
(a inheritsFrom: Msg)
ifFalse: [a CurrentId: 0.
self perform: ('the' , a name asString , 's:') asSymbol with:
OrderedCollection new]]
> hello.
>
> i have some trouble with using the initObjects method.
> i have a message and a simple object in my passive
> class. when i use the initObjects method, an error
> occurs on the initialization of the message. i
> thought by adding a class variable of CurrentId to the
> class of the message, it would solve the problem.
> however, another problem came out. what should i do to
> avoid this problem with initObjects?
>
> thanks.
>
> paolo
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com