[Zope] Sequence-Item

Milos Prudek milos.prudek@tiscali.cz
Sun, 28 Oct 2001 20:43:12 +0100


Vincenzo Di Somma wrote:
> 
> Try using <dtml-if "_['sequence-item']==...  instead of <dtml-if
> "sequence-item==....

I like the new "prefix" parameter of <dtml-in>. Example:

<dtml-in Elvis prefix=seq>
  <dtml-var seq_item>
  <dtml-if "seq_item-1==0">
     Elvis is subzero!
  </dtml-if>
</dtml-in>

I wish the old sequence-item was phased out already in favour of
sequence_item... it's provoking regular repeated questions from newbies.

--
Milos Prudek