[Zope-dev] TAL problem: getting to one's classes

Dieter Maurer dieter@handshake.de
Tue, 7 Aug 2001 22:10:15 +0200 (CEST)


vio writes:
 > ... access to additional classes in a product ...
Classes in your product are not exposed directly.
You need to go through a ProductDispatcher
(--> App.FactoryDispatcher) which gives you a FactoryDispatcher.

Beside the defined constructors, the FactoryDispatcher
can access the contents of the mapping "_m" in your
products "__init__".

You get the "FactoryDispatch" through

    ObjectManager.manage_addProduct[yourProduct]


Dieter