31 Oct
2001
31 Oct
'01
9:59 p.m.
Sidnei da Silva writes:
Ok. Got it 70%. Just couldnt get about the constructor. Is this something like the definition of manage_addProduct, that is done outside the class definition because the class instance was not created yet? Inside your products "__init__.py" you call
context.registerClass(..., constructors=(C1,C2,...), ....) The first constructor ("C1" above) is used as target in the corresponding "AddList" slot. All constructors are protected by the products "Create" permission. They can be accessed via the product dispatcher (the thing returned by "manage_addProduct[<productname>]"). That's all one can say about Zope's product constructors.... Dieter