[Zope] aq_explicit only and DTML Document

Behrens Matt - Grand Rapids Matt.Behrens@Kohler.Com
Thu, 18 Oct 2001 16:08:26 -0400


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