[Zope] Debugging and DTML

Phil Harris phil.harris@zope.co.uk
Sat, 8 Jan 2000 15:53:46 -0000


Why not try

<dtml-var REQUEST>

Go on try it, you may be nicely surprised ;)

Phil
phil.harris@zope.co.uk

----- Original Message ----- 
From: <administrator@consotec.de>
To: <zope@zope.org>
Sent: Saturday, January 08, 2000 3:41 PM
Subject: [Zope] Debugging and DTML




Hello,


I'm developing a product for ZOPE. Because changes in 
the python and dtml files are not detected I need to 
restart the ZOPE server all the time. Is there a way get around this?

How can I list a dictionary (e.g the REQUEST) with dtml. 
In python I would do the following:
for i in REQUEST.keys():
  print "%s=%s"%(i,REQUEST[i])

And with DTML? Here is the peace of dtml I came up with. 
But it doesn't work! I look in documenation but ...
What is wrong? 

<dtml-in "REQUEST.keys()">
  <b><dtml-var sequence-item>=<dtml-var "REQUEST[sequence-item]" ></b><br>
</dtml-in>


Thanks
 Alfons