[Seaside] isolate: not working properly

Jon Paynter kittle at mail.yans.net
Fri Sep 24 19:25:36 CEST 2004


---------- Original Message ----------------------------------
From: radoslav hodnicak <rh at 4096.sk>
Date: Fri, 24 Sep 2004 12:14:02 +0200 (CEST)

>On Thu, 23 Sep 2004, Jon Paynter wrote:
>
>> Try this:
>>
>> code WAComponent>>initialize like you want.
>>
>> Then, In the spot where you were doing lazy initilization, put in an
>> error check that will raise a walkback if decoration is nil.  Include an
>> error message that points people to their lack of 'super initialize' ...
>> "verify you are calling super initialize in your initialize method", or
>> add an explaination in the method comments.
>>
>> painful in the short run.. but long term its a good thing.
>
>Sorry, but as developer I neither should nor want to care if some internal
>things in the framework I'm using are initialized properly
I agree.  The framework should take care of initializing itself.

but when the framework's protocol changes, us developers need to change our code to fit.

Jon.



More information about the Seaside mailing list