[Zope-dev] dtml-in bug?

Christian Scholz cs@comlounge.net
Mon, 28 May 2001 15:38:44 +0200


Hi!

Dunno if it's again my "strange" setup, but I have some problem with dtml-in or
maybe I simply didn't get something right..

Well, I used the following dtml code:

<html>
<dtml-in expr="[1,2,3,4,5,6]" size="4">
a<br>
</dtml-in>
</html>


and I thought I will get three a's as output.. instead I get 6..
If I do size=3 it's ok (3 output), if I do size=4 or 5 or 6 I get
them all..
(actually it happened with some more complex list of Result objects but
 this seems to do the same here)

Can someone explain that to me..?

(it's Zope 2.3.2, Python 1.5.2, SuSE Linux 7.0)

cheers,
  Christian

-- 
COM.lounge                                          http://comlounge.net/
communication & design                                 info@comlounge.net