Re: [Zope] How to get name of calling DTML or script..
10 Jul
2002
10 Jul
'02
10:02 p.m.
Take a look at the contents of the REQUEST object. You'll probably find what you need there :-) To view the REQUEST Object contents, make a Python Script request = container.REQUEST for k in request.keys(): print k, '=', request[k] print return printed
11 Jul
11 Jul
6:53 p.m.
New subject: [Zope] How to get name of calling DTML or script..
Dennis Allison writes:
Take a look at the contents of the REQUEST object. You'll probably find what you need there :-)
To view the REQUEST Object contents, make a Python Script
request = container.REQUEST for k in request.keys(): print k, '=', request[k] print return printed You can have this much easier:
"<dtml-var REQUEST>" (DTML), "return str(REQUEST)" (Python Script), or '<div tal:content="structure request">' (ZPT). Dieter
8670
Age (days ago)
8671
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dennis Allison -
Dieter Maurer