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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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  -  [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 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 )

Reply via email to