[Zope-dev] ZPatterns and ZCLasses
Steve Spicklemire
steve@spvi.com
Wed, 22 Nov 2000 12:38:20 -0500 (EST)
Joachim,
If you don't care about existing *instances*, but just need a DataSkin
subclass you might be able to save labor by creating a subclass with
your old ZClass as well as DataSkin as base classes and use that for
new instances..
-steve
>>>>> "Phillip" == Phillip J Eby <pje@telecommunity.com> writes:
Phillip> At 10:29 AM 11/22/00 +0100, Joachim Schmitz wrote:
>> I created a FwCS and in it a customizer, but in my list of to
>> customize object types are only meta_types listed, which have
>> the Base class "_ZClass_for_DataSkin",. Is this a requirement,
>> and if yes, is there a way to add this to existing ZClasses ?
>>
Phillip> It is a requirement. The only way to add it (or any
Phillip> other base class) to existing ZClasses is to use the
Phillip> "setbasesholdontoyourbutts" hack, which I have never
Phillip> done, but a search of the mailing list or Zope site might
Phillip> reveal the technique.