[Zope] aq_explicit only and DTML Document
Meilicke, Scott
scott.meilicke@intp.com
Thu, 18 Oct 2001 15:03:30 -0700
Just found out about it today :)
-Scott
-----Original Message-----
From: Behrens Matt - Grand Rapids [mailto:Matt.Behrens@Kohler.Com]
Sent: Thursday, October 18, 2001 1:08 PM
To: Meilicke, Scott
Cc: Casey Duncan; zope@zope.org
Subject: Re: [Zope] aq_explicit only and DTML Document
Meilicke, Scott wrote:
> Cool, I like that. Will this also work?
>
> <dtml-with expr="PARENTS[0]">
> <dtml-in expr="objectValues('DTML Document')">
> <p><dtml-var id>: <dtml-var meta_type> (<dtml-var summary
> missing="">)</p> </dtml-in>
> </dtml-with>
Well, you seem to be (w/o testing) iterating over the objectValues of
your immediate parent. I don't think that's what you want to do.
I thought about using PARENTS somehow, but didn't want to create a
special case for DTML Documents.
> I use similar code, but like the getProperty thingy better - less to type.
Err, so why don't you use it? :-)
--
Matt Behrens <matt.behrens@kohler.com>
System Analyst, Baker Furniture