Daryl Stultz wrote:
> I want class2 to be created INSIDE of the class 1 instance. Instead,
> class2 (always with an id of "myClass2") is created at the same level as
> the class1 instance. How do I change the namespace to get the class2
> instance inside class1?

NOT TESTED, but simialr to something I do:

<dtml-call expr="class1.createInObjectManager(REQUEST['id'],
<dtml-with "_.getitem(id)">
  <dtml-call "REQUEST.set('id', 'myClass2')">
  <dtml-call "class2_add(_.None, _, NoRedir=1)">

-- Tim Cook, President --
Free Practice Management,Inc. | http://FreePM.com
Office: (901) 884-4126
Censorship: The reaction of the ignorant to freedom.

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

Reply via email to