[Zope] all DTML Methods of current folder and subfolder
Dieter Maurer
dieter@handshake.de
Fri, 21 Jul 2000 22:20:24 +0200 (CEST)
Wolfgang Klinger writes:
> I have a dtml method in a folder which should
> display all "document_title"s of all
> "DTML Method"s in the current folder and
> all sub folders!
>
> I tried
> <dtml-in "Info.objectValues(['DTML Method'])">
> where "Info" is the current folder where the
> method itself is stored
> but that didn't work ... :-(
<dtml-in "ZopeFind(this(),obj_metatypes=['DTML Method'], search_sub=1)" sort=id>
&dtml-id;<br>
</dtml-in>
You cannot use "document_id" or "document_title" because they
are only defined dynamically (during rendering).
Dieter