[Zope] Building a list in a dtml-in loop

Schmidt, Allen J. aschmidt@nv.cc.va.us
Tue, 19 Jun 2001 07:13:39 -0400


I have a page that uses a dtml-in to process the results from a ZSQL method.
The page lists out 30 items and the price of each item is a link to a detail
page. What I would like to do is while inside the loop, create then append
to a list that stores each of the record IDs for each item. Then when
someone clicks the link to go to the detail page it 'takes' the list along.
On the detail page would be info about the product and also include forward
and back buttons to the next item in the list just created.

I guess the question is can I create a list that I can pass to the next page
to use to access subsequent records.

Clear as mud? 

Thanks!

Allen