[Zope-dev] Passing arguments to external methods

Emmanuel Rousselle eroussel@maestria.com
Thu, 11 Nov 1999 13:50:14 -0500


At 01:50 PM 11/11/99 -0500, Brian Lloyd wrote:
>You aren't trying to call it from another External Method 
>by any chance, are you? Can you post the code/dtml that 
>you are actually using to call the helloWorld method?

I'm using a DTML Document:
<!--#var standard_html_header-->
<h2><!--#var title_or_id--></h2>
<p>
This is the <!--#var id--> Document.
</p>
<p><dtml-var "helloWorld(REQUEST)"></p>
<!--#var standard_html_footer-->

and it is generating the error I described. On the other hand if I use:
<dtml-var "helloWorld(this(),REQUEST)">
instead of:
<dtml-var "helloWorld(REQUEST)">
(as recommended by sergey2b@mail.ru in a previous post - thanks by the way ...)
all work perfectly.
--
Emmanuel