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_">

Of cause, you must handle boundary problems, maybe with <dtml-try>
or <dtml-if>.


Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to