[Zope] Passing parameters to python script objects

Patrick Lewis plewis@inetarena.com
Mon, 23 Apr 2001 10:36:00 -0700


On Mon, Apr 23, 2001 at 06:59:58PM +0200, Uwe Fechner wrote:
> 
> Then I tried:
> 
> <dtml-in select_all_from_myTable>
>    <p><dtml-var expr="myFunction(<dtml-var myField1>)"></p>
> </dtml-in> 

You fell for the old "nested dtml" trap.  Try:

   <p><dtml-var "myFunction(myField1)"></p>

As you've discovered, you can't nest dtml statiments in other dtml
statments.

-- 
Patrick Lewis <plewis@inetarena.com>