[Zope] ZCatalog previous and next items in list

2000-05-30 Thread Chris Crownhart
I am using a dtml-in to walk through a catalog and display the results for a given query. When someone clicks on an item in a list, I would like to be able to pass the id of the item above it and below it. For example, Given this result set: Title Desc - -- Item 1

Re: [Zope] ZCatalog previous and next items in list

2000-05-30 Thread Dieter Maurer
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