[Zope] how do you iterate over tiny tables?

Andrew Kenneth Milton akm@mail.theinternet.com.au
Tue, 23 May 2000 00:01:46 +1000 (EST)


+----[ Graham Chiu ]---------------------------------------------
|
| 
| I have a folder full of Tiny Tables.  I would like to go over each
| table, and iterate thru their contents.
| 
| <dtml-in "objectValues(['TinyTable'])">
|   <dtml-in sequence-item>
|      <dtml-var value><br>
|   </dtml-in>
| </dtml-in>
| 
| doesn't do anything.  Clues?

I don't think you need the []'s

<dtml-in "objectValues('TinyTable')">
    <dtml-var title><br>
    <dtml-in sequence-item>
        <dtml-var value><br>
    </dtml-in>
</dtml-in>

This works for me. 

-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd          |  F:+61 7 3870 4477   | 
ACN: 082 081 472                     |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068    |akm@theinternet.com.au|