[Zope] Instance within Instance

Daryl Stultz daryl@together.net
Tue, 28 Nov 2000 07:58:20 -0500


Tim Cook wrote:
> The problem here is that even though you set REQUEST, it is a
> string. You need to be in the context of the parent _object_. You
> should try  <dtml-with "_.getitem(parent_id)">.

What's happening now is that my class2 is getting created at the same
level as class1. What I want is class2 to be INSIDE class1. So I don't
want the parent context, I want the class1 context. 
<dtml-with "_.getitem(myClass1_id)"> gets me the class2 instance at the
same level...

How can I get a new context of the newly created class1 instance?
Thanks.

Daryl Stultz - python, blender, robots, really bad harmonica playing...
daryl@together.net  
RedHat Linux 6.1 - Dual Pentium Pro