[Zope] losing my zen with external methods...

Michel Pelletier michel@digicool.com
Thu, 23 Sep 1999 10:57:44 -0400


> -----Original Message-----
> From: Tony McDonald [mailto:tony.mcdonald@ncl.ac.uk]
> Sent: Wednesday, September 22, 1999 11:45 PM
> To: zope
> Subject: [Zope] losing my zen with external methods...
> 
> 
> Hi all,
> 
> I've got an external method called minicascade:
> 
> def minicascade(self, tag_id)
> ....
> 
> which works fine, ie it renders HTML, if I do something like
> .../minicascade?tag_id=13228
> but if I try this within a DTML Method (I get the same error 
> if I use a DTML
> Document);
> 
> <dtml-var "minicascade(tag_id=13228)">

Try:

<dtml-var "minicascade(13228)">

or maybe:

<dtml-var "minicascade(this(), 13228)">

but I think the first one is right.

-Michel