What is the correct way to use the OFS to create an instance of a product within an object? I have a filesystem-based Zope product which creates various files on the filesystem. Depending on the internal state of an instance of my Product I'd like to create a LocalFS instance (ie a local attribute) pointing to the directory which the product created. What is the correct way to do this? -- J C Lawrence ---------(*) Satan, oscillate my metallic sonatas. claw@kanga.nu He lived as a devil, eh? http://www.kanga.nu/~claw/ Evil is a name of a foeman, as I live.
J C Lawrence wrote at 2004-2-4 20:25 -0500:
What is the correct way to use the OFS to create an instance of a product within an object?
The standard way is <objectManagerDestination>.manage_addProduct[<productName>]. <constructor>(<arguments>) -- Dieter
participants (2)
-
Dieter Maurer -
J C Lawrence