[Zope] aq_explicit only and DTML Document

Casey Duncan c.duncan@nlada.org
Thu, 18 Oct 2001 15:23:51 -0400


On Thursday 18 October 2001 02:46 pm, Behrens Matt - Grand Rapids allegedly 
wrote:
> Let me try this again.  There has got to be an explanation and/or
> workaround for this.  I am beating my head up against the wall.
>
> Given a DTML Method that spits out a folder index that is acquired by
> subfolders with the following code:
>
> <dtml-in expr="objectValues('DTML Document')">
>   <p><dtml-var id>: <dtml-var meta_type> (<dtml-var summary
> missing="">)</p> </dtml-in>
>
[snip]
>
> Anyone have any clue what gives here?

Try:

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

hth,
/---------------------------------------------------\
  Casey Duncan, Sr. Web Developer
  National Legal Aid and Defender Association
  c.duncan@nlada.org
\---------------------------------------------------/