13 Jul
2003
13 Jul
'03
10:46 p.m.
Martin Richtarsky wrote at 2003-7-11 23:13 +0200:
I have an DTML document (doc) and a Python Script (script). Both of these are stored in the root folder. Now, I want to call doc on some arbitrary subfolder. doc outputs standard_html_header etc. and passes control to the script to do the processing. The problem is, 'context' in the script is the folder where the caller, i.e. the DTML document, is in. But I want to do work on the objects in the folder doc was called on.
In general, do not use DTML Document. Use DTML Method, instead. Break this rule only when you really understand the difference between DTML Document and DTML Method and see that you need precisely DTML Document (which is very rare). Dieter