[Zope] How to Pass values to a DTML method ??
Mon, 11 Sep 2000 16:17:06 -0700
This is the way I had to do it what's up with the two extra params?
From: email@example.com [mailto:firstname.lastname@example.org]On Behalf Of
Sent: Monday, September 11, 2000 2:24 PM
To: Stuart Foster
Cc: Zope List
Subject: Re: [Zope] How to Pass values to a DTML method ??
Stuart Foster writes:
> I have a DTML method that is called from a document. I need to pass a
> to it like a parameter would be passed to a function.
> <dtml-var some_method(param=value)>
That does not look too bad, but you forgot the "..." around the call.
You should include two positional parameters as well:
Otherwise, you cut the namespace propagation.
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -