[Zope] how do you iterate over tiny tables?

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


+----[ Graham Chiu ]---------------------------------------------
|
| ><dtml-in "objectValues('TinyTable')">
| >    <dtml-var title><br>
| >    <dtml-in sequence-item>
| >        <dtml-var value><br>
| >    </dtml-in>
| ></dtml-in>
| >
| >This works for me. 
| 
| This code is in the index_html of the same folder containing the
| tinytables.  It doesn't work for me unless I specify the folder as in
| 
| thisfolder.objectValues()
| 
| whereas all the examples I've seen don't need this. Using 2.1.4.

My index_html is a dtml-method, not a dtml-document. Using 2.1.4.

I find myself rarely using dtml-documents because they don't acquire
like methods.

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