[Zope] Calling a DTML Method with arguments

Howard Hansen zope@halfmagic.com
Tue, 25 Jun 2002 15:36:35 -0700


Danke Dieter, that works perfectly.  And thanks for the link.  I'm looking
it over right now.

Howard Hansen
http://howardsmusings.com/categories/zope

----- Original Message -----
From: "Dieter Maurer" <dieter@handshake.de>
To: <douwe@oberon.nl>
Cc: "Howard Hansen" <zope@halfmagic.com>; <zope@zope.org>
Sent: Tuesday, June 25, 2002 2:59 PM
Subject: RE: [Zope] Calling a DTML Method with arguments


> douwe@oberon.nl writes:
>  > > Thanks Douwe, your answer is very close to what I need.  How can
>  > > I call the
>  > > DTML Method inside a DTML Document (or Method) using only dtml?
>  >
>  >
>  > I try not to use DTML, so I'm quite sure:
>  >
>  > <dtml-var "dtmlMethod( _, REQUEST, Param=Value)"> should work though.
> Almost:
>
> <dtml-var "dtmlMethod(_.None,_, keyword_parameters_as_needed)">
>
> In special cases, "_.None" will be replaces by a so called "client"
object.
>
> Lookup order is:
>
>   * keyword parameters
>
>   * client attributes
>
>   * "_" keys
>
> More details:
>
>   <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>
>
>
>
> Dieter