[Zope] Arrg! dtml-in can't handle lists of pairs!
Dieter Maurer
dieter@handshake.de
Wed, 5 Jul 2000 21:45:00 +0200 (CEST)
Cary O'Brien writes:
> > "Cary O'Brien" <cobrien@Radix.Net> writes:
> > > It seems as if dtml-in handles lists of pairs specially.
> > It does, and it is documented.
>
> Where? I even looked through the code in DT_In.py and couldn't
> figure out where it handled this special case. This seems
> to me like a pretty big gotcha.
From Document Template User Guide: dtml_in -> variables defined
sequence-key
The key associated with the element in an items sequence.
An items sequence is a sequence of value
pairs that represent a mapping from a key to a value.
Dieter