Tim Cook wrote:

Well, Tim, I'm sorry to say I am back where I started :-( 
I took your (working) example and modified it. I want to be able to add
the MyClass1/MyClass2 combo from the management interface (the add
product thing). 
I combined all the code into MyClass1_add. If I use this:

>   <dtml-with "manage_addProduct['DarylExample']">
>     <dtml-call expr="MyClass2_add(_.None, _, NoRedir=1)">
>   </dtml-with>

I get a permission denied error. If I remove the with wrapper, I get the
MyClass2 instance, but ALONGSIDE rather than within the MyClass1
instance. This is pretty much the same thing I got before you sent me
the product so I guess I wasn't that far off :-)

I fooled around with permissions as much as I could and couldn't make it
work. Any ideas there?

Thanks again.

"Where is the fancy bread, in the heart or in the head?"

Daryl Stultz - python, zope, blender, robots, really bad harmonica
RedHat Linux 6.1 - Dual Pentium Pro

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

Reply via email to