[Zope] Calling a dtml method from a product

hans hans@beehive.de
Wed, 03 Apr 2002 13:24:14 +0100


Geoff Armstrong wrote:

> Hi all,
>
> This is a very basic question, I know; but is it possible to call a
> dtml method from a product file such as myproduct.py ?
>
> If so, can anyone advise me the correct syntax and whether the dtml
> method has to reside within the products folder or whether it can be
> any method within the ZODB?

Zope API reference
http://www.zope.org/Members/michel/ZB/AppendixB.dtml
says
__call__(client=None, REQUEST={}, **kw)

read on
cheers hans
-------------------------------------------------------------
Who's got only a hammer sees the world as a nail
hans augustin  (software developer)           hans@beehive.de
beehive elektronische medien GmbH       http://www.beehive.de
phone: +49 30 847-82 0                  fax: +49 30 847-82 299