One way around this is to put the following:
<dtml-in SequenceLoop>
<dtml-let seqnumber=sequence-number>
<!-- insert code here -->
</dtml-let>
</dtml-in>
Another more "ugly" method would be:
<dtml-in SequenceLoop>
<dtml-let seqnumber=sequence-number>
<dtml-call "REQUEST.set('loopNumber',seqnumber)">
</dtml-let>
<!-- insert code here -->
</dtml-in>
The second approach is good if you want to know what the last sequence-number was after the sequence has ended.
Cheers,
Wade
>>> Asad Habib <ahabib@engin.umich.edu> 7/01/2004 9:10:11 am >>>