[Zope] growing webpage

Jorg E. Rødsjø jorgelr@stud.ntnu.no
Wed, 27 Nov 2002 13:54:07 +0100


Hi

My dtml looks like this:

<table>
  <dtml-in expr="functionCall('spam')" mapping>
    <tr>
      <td><dtml-var dictKey1></td>
      <td><dtml-var dictKey2></td>  
    </tr>
  </dtml-in>
</table>

Where the functionCall returns a list of dictionaries from an External
method. Everything works fine. But if the page is reloaded, the <dtml-in>
tag seems to be run twice, resultning in double the amount of <tr>'s. When
I continnue to reload it, the table just keeps getting bigger. The <table>
tags are not repeated. Only the stuff inside the <dtml-in>.

If I try to open the page in a new browser, the page is as big as it was
after reloading it a couple of times in the first browser. So something in
zope is doing this. 

This is at the moment more than mildly frustrating. Anyone?

-jorg
-- 
Jorg E. Rødsjø       "Knowledge is power. Power corrupts.
elsewhere.dhs.org     Study hard, be evil."