[Zope-CMF] multiple factory_type_information in the same file
Dieter Maurer
dieter@handshake.de
Thu, 14 Nov 2002 21:08:03 +0100
Pascal Samuzeau writes:
> I need to have some factories's class in the same file.
>
> How can I declare a factory_type_information for each class in the
> same file?
I (and the CMF) do it this way:
factory_type_information = (
HaufeNews.factory_type_information
+ Query.factory_type_information
+ Downloads.factory_type_information
+ MediaObject.factory_type_information
+ Newsletter.factory_type_information
+ Medien.factory_type_information
)
In my case, the component type informations are defined
in separate files. But they could easily been inlined.
Dieter