[Zope] ZObjectManager

peter bengtson peter@grenna.net
Mon, 29 Jan 2001 15:33:27 -0000


Here we go...

'Hitrate' is the whole product.
HitrateText_add() is a method you find _inside_ the ZClass called
'HitratePage' (notice the dtml-with statm.)
NoRedir is a variable I send to that method to tell it not to redirect
anywhere.

<dtml-with "PARENTS[0].manage_addProduct['Hitrate'].HitratePage">
 <dtml-call "HitrateText_add(_.None,_,NoRedir=1)">
</dtml-with>

Hope it helps!
Mvh, Peter



----- Original Message -----
From: "Gordon Bergström" <gordon@netg.se>
To: <zope@zope.org>
Sent: Monday, January 29, 2001 1:53 PM
Subject: [Zope] ZObjectManager


> Dear Group.
>
> I have made a Product and a Class that is ZObjectManager. But how do I
> create Object instances within the instance of the Class? I want to do
this
> programmaticly.
>
> Reagrds
>
> Gordon Bergström
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )
>