[Zope-dev] Calling DTML methods from Python
Kevin Dangoor
kid@kendermedia.com
Mon, 29 May 2000 12:52:55 -0400
I believe this is in the Collector... My guess is that no one has yet
figured out a good way to make the client and namespace be passed in
automatically. This may not be desirable anyhow, because there may be times
when you want to change the client... I've actually done this once or twice.
I guess there could be something like <dtml-var fooMethod params="x,y,z">.
This is another one of those things that trips up newbies almost
universally, so a good solution here could really help...
Kevin
----- Original Message -----
From: "Chris Withers" <chrisw@nipltd.com>
To: "Zope-Dev Mailing List" <zope-dev@zope.org>
Sent: Monday, May 29, 2000 12:32 PM
Subject: Re: [Zope-dev] Calling DTML methods from Python
> On more of a ranting rather than a genuine question note,
>
> Why does this _horrible_ syntax for calling methods with parameters
> still have to be used?
>
> <dtml-[whatever] "someFunc(_.None,_,[parameters])">
>
> *blech*
>
> Chris