22 Aug
1999
22 Aug
'99
6:24 p.m.
Tim Wilson wrote:
<td width="20%" rowspan=2><dtml-var expr="_.whrandom.choice(quotes.objectValues())"></td>
Unfortunately, Zope renders the contents of the quote literally, replacing, for example, all the < with <. The result can be seen at http://206.131.108.122:8080/atlas/.
The expression "_.whrandom.choice(quotes.objectValues())" correctly chooses an object at random from your quotes, but then fails to render it. You need to write something like "_.whrandom.choice(quotes.objectValues())(this(), REQUEST)" to complete the process.