13 Oct
2002
13 Oct
'02
12:15 p.m.
Vitor Varalonga wrote:
Hi!
I have several DTML documents that call the same python script. How can I know inside this Python script which was the document that called it? Sorry for the beginners' question.
context.REQUEST.PUBLISHED will give you the (web)-published object. context.REQUEST.PUBLISHED.getId() will give you the id of the object and so on... cheers, maik -- Maik Jablonski __o www.zfl.uni-bielefeld.de _ \<_ Deutsche Zope User Group Bielefeld, Germany (_)/(_) www.dzug.org