[Zope] Zope Eats Memory

Gilles Lenfant glenfant@bigfoot.com
Thu, 25 Oct 2001 22:23:59 +0200


Robert,

You should replace "None" against "_.None" in a python expression inside a
<dtml-something "...">
Dunno why but only this works for me (Zope 2.3.3).
So write:

<dtml-var "callTest(_.None,_,param1=21, param2='was called from far')">

----- Original Message -----
From: "Robert Rottermann" <robert@redcor.ch>
To: "Tommy Johnson" <tommy@7x.com>; "Zope List" <zope@zope.org>
Sent: Thursday, October 25, 2001 9:53 PM
Subject: Re: [Zope] Zope Eats Memory


> you can call a dtml-method like a function with parameters
>
> dtml-method 1 called callTest:
> <dtml-var standard_html_header>
> <dtml-var param1><br>
> <dtml-var param2><br>
> <dtml-var standard_html_footer>
>
> you call this method like so:
> <dtml-var "callTest(None,_,param1=21, param2='was called from far')">
>