[Zope] Simple DTML Method/Acquisition problem

Martijn Pieters mj@antraciet.nl
Fri, 05 Mar 1999 11:18:50 +0100


At 01:55 05/03/99 , David Ascher wrote:
><!--#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?
>


Just a quick shot: Could it be that the value 'hidden' is aquired from
somewhere else?

--
M.J. Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-6254545 Fax: +31-35-6254555
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------