Re: [Zope] creating object from method

2000-06-08 Thread Kevin Dangoor

Take a look at:
http://www.zope.org/Members/taz/addZClasses

Kevin

- Original Message - 
From: "Pierre Rougier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 08, 2000 6:57 AM
Subject: [Zope] creating object from method


> Well, I didn't find it in the ZQR,
> I have a product which is able to create instantiate an object of a
> ZClass (using a factory).
> (so, I can add my special object from the Add list)
> 
> In a dtml method, I want to create (instantiate) a new object of this
> ZClass..
> I tried manage_addProduct... a little by hazard, but I don't find the
> right primitive to do that
> isn't there something like
> manage_addObject(ZClass, id...)?




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] creating object from method

2000-06-08 Thread Pierre Rougier

Hi all,

Well, I didn't find it in the ZQR,
I have a product which is able to create instantiate an object of a
ZClass (using a factory).
(so, I can add my special object from the Add list)

In a dtml method, I want to create (instantiate) a new object of this
ZClass..
I tried manage_addProduct... a little by hazard, but I don't find the
right primitive to do that
isn't there something like
manage_addObject(ZClass, id...)?

Does anyone can help me?
:^) thanks by advance

Piotr.



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )