-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
In article <[EMAIL PROTECTED]>, Chris Withers
<[EMAIL PROTECTED]> writes
>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>?
>
Nothing. Just shows I shouldn't be doing this Zope at 1 am :-(
- --
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/AwUBOSjviLTRdIWzaLpMEQKiPwCghmIzqzzHDE0PefkxLvXDBUN2CM4An1/b
C8sS3SChTJVPvtgHEd0gF4OL
=Ne8G
-----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 )