-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In article <[EMAIL PROTECTED]>, Geir BXkholt
<[EMAIL PROTECTED]> writes
>on Monday, May 22, 2000 Graham Chiu wrote :
>[snip]
>GC> I have a folder full of Tiny Tables.  I would like to go over each
>GC> table, and iterate thru their contents.
>
>GC> <dtml-in "objectValues(['TinyTable'])">
>GC>   <dtml-in sequence-item>
>GC>      <dtml-var value><br>
>GC>   </dtml-in>
>GC> </dtml-in>
>
>GC> doesn't do anything.  Clues?
>[snip]
>
>perhaps (untested) <dtml-in "_['sequence-item']"> would work
>??
>

Nope, but this does for some reason

<dtml-in "thisdirectory.objectValues(['TinyTable'])">
   <dtml-in sequence-item>
    <dtml-var value><br>
  </dtml-in>
</dtml-in>


I would like to print out the title attribute of the tiny table now, but

  <dtml-var "_.getattr(_['sequence-item'],'title')">

chokes on title with an attribute error.


- -- 
Regards,  Graham Chiu
gchiu<at>compkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-----BEGIN PGP SIGNATURE-----
Version: PGPsdk version 1.7.1

iQA/AwUBOSiNxbTRdIWzaLpMEQKTHwCdFRttEtEvI1ygh4edW2w5uv4gfeYAnRdx
NrC161zJKnJBLSrWZQWAEe7w
=DuhO
-----END PGP SIGNATURE-----

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to