[Zope] newbie questions

Ethan Fremen mindlace@majordomo.net
Wed, 10 Nov 1999 17:43:48 +0000


Eduardo Fernandez Corrales wrote:

> > <dtml-in "objectValues(['Folder'])">
> >   <a href="<dtml-var absolute_url>"><dtml-var id></a>
> > </dtml-in>
> >
> 
> When I try the code above in a DTML Document I get nothing.
> The folder where the DTML doc is does contain other folders.
> 
> What could be going wrong?

<dtml-in parentFolder expr="objectValues(['Folder'])">

what you've got is searching in the document for folders, and not
finding them.  It works in a Method because a method is just an
appendage of a folder.

--
Ethan "mindlace" Fremen
you cannot abdicate responsibility
for your ideology.