[Zope] Referencing a method in a folder (Simple question)
Matt Goodall
mgg@isotek.co.uk
Tue, 01 Feb 2000 17:55:09 +0000
Borno Janekovic wrote:
>
> How can I reference a method in a deeper folder?
>
> I have a HTML-Document in witch I want to include
> a dtml-method "method" from the folder "down"
>
> If I write
> <dtml-var "down.method">
>
> I get the source in the page not the rendered code.
>
> What did I wrong?
You can use either
<dtml-var "down.method()">
or
<dtml-with down>
<dtml-var method>
</dtml-with>
Cheer, Matt.
--
Matt Goodall | Isotek Electronics Ltd
email: mgg@isotek.co.uk | Claro House, Servia Road
Tel: +44 113 2343202 | Leeds, LS7 1NL
Fax: +44 113 2342918 | England