[Zope] dtml-in mapping, and sessions

Alejandro Fernandez ale@e-group.org
Tue, 9 Jul 2002 11:04:15 +0200


On Mon, 8 Jul 2002 21:11:41 +0200
Dieter Maurer <dieter@handshake.de> wrote:

> Alejandro Fernandez writes:
>  > It goes 

>  > <dtml-if "sequence-item > size">

> Avoid names containing "-" in Python expressions!

Hi,

I'm using the names given in the dtml reference appendix of the zope book:
under Summary, Batch, and Current Item Variables for the dtml-in loop: 

next-batches, total-variable, count-variable, sequence-item,
sequence-index, etc

Is the best way to avoid this <dtml-if "_.getitem('sequence-item' >
size)">?

Thanks,

Ale

-- 
Alejandro Fernandez
Electronic Group Interactive
--+34-65-232-8086--