[Zope] DBTAB mounting ZCLASS as container
Dieter Maurer
dieter at handshake.de
Tue Jan 13 13:25:43 EST 2004
Harald Koschinski wrote at 2004-1-13 10:36 +0100:
>is there a way to mount a Database with a ZClass as the container object ?
>
>In theory there is the parameter "container_class" in dbtab.conf to
>specify which class will taken. But as I can see it's only accepting
>PythonClasses - not ZClasses.
>
>Any hints??
This will not be possible without major work:
You would need to implement a new type of mount point.
Its class key would allow a ZClass reference.
The corresponding datatype would be a factory that
later instantiates the ZClass.
--
Dieter
More information about the Zope
mailing list