[Seaside-dev] Issue with #removeDecoration:

John Thornborrow john at Pinesoft.co.uk
Tue May 27 10:59:27 UTC 2008


Hi Lukas,

Yes, we have called super initialize whenever we have overridden initialize.

A thought has just occurred to me, and that is that we are re-using 
instances in #call:/#answer: - would this pose a problem, or should we 
use a new instance for every #call:? A simplified example:

MyTask>>initialize
   super initialize.
   form := MyForm new

MyTask>>go
   [(self call: self form)
     ifNotNilDo: [:anArray | " do something with the array, then reuse 
the form "]
     ifNil: [^self answer]] repeat

I have tried this as a test, but due to the rarity of the error I can't 
reliably test it.

Thanks,
John

Lukas Renggli wrote:
>>  Has nobody got any ideas on this? We'd really appreciate some kind of
>> pointer, or at least a "never been a problem in our experience" :)
> 
> Are you sure to call "super initialize" in all your subclasses of WAComponent?
> 
> Lukas
> 

-- 
John Thornborrow
http://www.pinesoft.co.uk


******************************************************************************************************************************************
This email is from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. *******************************************************************************************************************************************


Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA


More information about the seaside-dev mailing list