[Zope] how do you iterate over tiny tables?
Chris Withers
chrisw@nipltd.com
Mon, 22 May 2000 14:58:57 +0100
Graham Chiu wrote:
> <dtml-in "thisdirectory.objectValues(['TinyTable'])">
> <dtml-in sequence-item>
> <dtml-var value><br>
> </dtml-in>
> </dtml-in>
Is this code in a DTML document or method?
> 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.
What's wrong with just <dtml-var title>?
cheers,
Chris