[Zope] Stop Interpreting My ASCII!!!

Dieter Maurer dieter@handshake.de
Sun, 22 Jul 2001 22:32:48 +0200 (CEST)


Ben Ocean writes:
 > This is probably a Python question, but I'm using this tag:
 > <!--#var expr="_.whrandom.choice(testimonials.objectValues())"-->
 > When an object is selected it_gets_read_as_ASCII, thus, this line:
 > 
 > <select>
 > 
 > looks like this:
 > 
 > &lt;select&gt;
The standard problem of not rendering DTML objects.....

Use:

   <dtml-var expr="_.render(_.whrandom.choice(testimonials.objectValues())">


Dieter