[Zope-dev] dtml-in bug?

2001-05-28 Thread Christian Scholz

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
abr
/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 [EMAIL PROTECTED]

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] dtml-in bug?

2001-05-28 Thread Tino Wildenhain

Hi Christian,

--On Montag, 28. Mai 2001 15:38 +0200 Christian Scholz [EMAIL PROTECTED] 
wrote:

 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
 abr
 /dtml-in
 /html


*rustle* try orphan=0 :-)

Greetings
Tino

 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 [EMAIL PROTECTED]

 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )





___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] dtml-in bug?

2001-05-28 Thread Christian Scholz

Hi!

ok, some more people told me now about it.. ;-)

It's not that intuitive nevertheless.. (IMHO) ;-)

cheers and thx,
  Christian

On Mon, May 28, 2001 at 05:20:39PM +0200, Tino Wildenhain wrote:
 Hi Christian,
 
 --On Montag, 28. Mai 2001 15:38 +0200 Christian Scholz [EMAIL PROTECTED] 
 wrote:
 
  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
  abr
  /dtml-in
  /html
 
 
 *rustle* try orphan=0 :-)
 
 Greetings
 Tino
 
  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 [EMAIL PROTECTED]
 
  ___
  Zope-Dev maillist  -  [EMAIL PROTECTED]
  http://lists.zope.org/mailman/listinfo/zope-dev
  **  No cross posts or HTML encoding!  **
  (Related lists -
   http://lists.zope.org/mailman/listinfo/zope-announce
   http://lists.zope.org/mailman/listinfo/zope )
 
 
 
 

-- 
COM.lounge  http://comlounge.net/
communication  design [EMAIL PROTECTED]

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )