[Zope] Dumping REQUEST for debug
Hannu Krosing
hannu@tm.ee
Fri, 03 Mar 2000 12:14:29 +0200
Sin Hang Kin wrote:
>
> How could I dump all names in REQUEST for debug? The quick reference reval
> that REQUEST have has_key(name) but do not say it response to keys()
>
> It is not possible to put
> <dtml-in REQUEST>
IIRC the recommended way was to use
<dtml-var REQUEST>
or perhaps
<pre><dtml-var REQUEST></pre>
It was further recommended to make a method called DEBUG in your root
folder containing the above and set permissions so that only managers
could use it.
-----------
Hannu