[Zope] Simple DTML Method/Acquisition problem

David Ascher da@ski.org
Thu, 4 Mar 1999 16:55:11 -0800 (Pacific Standard Time)


I have a standard_html_header/footer pair which works much like that on
zope.org.

The header inserts a <!--#var sidebar--> in the left column.  The
sidebar DTML method is:

<!--#in expr="objectValues(['Folder'])"-->
<!--#if hidden -->
<!--#else -->
<a href="<!--#var id-->"><!--#var title--></a><p>
<!--#/if -->
<!--#/in -->

(show links to sub-folders which don't have the 'hidden' property set).

The above works fine in the toplevel folder.  In the subfolder, however,
nothing shows up, even though there are two folders which do qualify.

I'd tried originally to have it be a DTML Document and change the expr to
_.objectValues(['Folder']), but that doesn't work at all.

What am I missing?

--david