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'],
REQUEST)">
<dtml-with "_.getitem(id)">
<dtml-call "REQUEST.set('id', 'myClass2')">
<dtml-call "class2_add(_.None, _, NoRedir=1)">
</dtml-with>
HTH,
-- 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]
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 )