[Zope] aq_explicit only and DTML Document

Meilicke, Scott scott.meilicke@intp.com
Thu, 18 Oct 2001 12:47:11 -0700

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>

I use similar code, but like the getProperty thingy better - less to type.


-----Original Message-----
From: Behrens Matt - Grand Rapids [mailto:Matt.Behrens@Kohler.Com]
Sent: Thursday, October 18, 2001 12:28 PM
To: Casey Duncan
Cc: zope@zope.org
Subject: Re: [Zope] aq_explicit only and DTML Document

Casey Duncan wrote:

> Try:
> <dtml-in expr="objectValues('DTML Document')">
>   <p><dtml-var id>: <dtml-var meta_type> 
>   (<dtml-var expr="getProperty('summary','')">)</p>
> </dtml-in>

Cool, that works.  Thanks.

It is rather odd that the aq_explicit only case doesn't, though... 
shrug, I guess.

Matt Behrens <matt.behrens@kohler.com>
System Analyst, Baker Furniture

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )