30 May
2000
30 May
'00
9:32 p.m.
Hi Chris,
I am using a <dtml-in> to walk through a catalog and display the results ... If the user click on Item 2, I want to pass the id of Item 1 and Item 3 to the next page. "dtml-in" iterates over a sequence. You can directly access elements of the sequence. This looks like:
<dtml-let S=sequence> <dtml-in S> <dtml-var "S[_['sequence-index']-1].data_record_id_"> </dtml-in> </dtml-let> Of cause, you must handle boundary problems, maybe with <dtml-try> or <dtml-if>. Dieter