[Zope] Creating an instance of another class?

J C Lawrence claw at kanga.nu
Thu Feb 5 14:15:49 EST 2004

On Thu, 5 Feb 2004 19:39:22 +0100 
Dieter Maurer <dieter at handshake.de> wrote:
> 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>)

Ahh, much thanks!  Does the containing object have to be folderish, or
can a SimpleItem do?

J C Lawrence
---------(*)                Satan, oscillate my metallic sonatas.
claw at kanga.nu               He lived as a devil, eh?
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.

More information about the Zope mailing list