"brian.r.brinegar.1" wrote:
Howdy!
I've got something setup where something is published and calls something else, which calls something else, until eventually it calls a dtml method which makes a call like this <dtml-var "tools.script1()"> Inside of script1 I want to know where the PUBLISHED object was published.
Well, It hit me, but I'll send this anyway.
PUBLISHED.aq_parent is what I wanted.
-Brian
the PUBLISHED appeares in the REQUEST (see http://www.zope.org/Documentation/ZopeBook/AppendixB.stx), so maybe you should pass the REQUEST object through the calls as argument hth ------------------------------------------------------------- Who's got only a hammer sees the world as a nail hans augustin (software developer) hans@beehive.de beehive elektronische medien GmbH http://www.beehive.de phone: +49 30 847-82 0 fax: +49 30 847-82 299