[Zope] (no subject)

Peter Walerowski peter.walerowski@densxl.de
Fri, 8 Feb 2002 10:24:48 +0100


hello all,

my problem might be simple, but I can't find the solution:
I can iterate through a sequence - let's say a folder content - and display the items in a table, but I can't figure out how to display the table in two columns.

<dtml-in myFolderContent>
 <tr><td><dtml-var folderItem></td></tr>
</dtml-in>

will print the dates in a single column, but how can I iterate through and refer to a second item in one <dtml-in> pass.

somthing like

<dtml-in myFolderContent>
 <tr><td><dtml-var folderItem></td>
     <td><dtml-var folderItem[nextIndex]></td></tr>
</dtml-in>

???

My table should look like this:

  -----------------------
  | 1. item  | 2. item  |
  | 3. item  | 4. item  |
  | ...      | ...      |
  -----------------------

Thanks for help
--
berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de sichern!
http://www.berlin.de/home/MeineStadt/Anmeldung