Re: [Zope] Passing parameters to python script objects
25 Apr
2001
25 Apr
'01
10:01 a.m.
hi all, select_all_from_myTable refers to a Z SQL Method that queries via a 'GV Interbase Database Connection' object an Interbase database
<dtml-in select_all_from_myTable> <p><dtml-var expr="myFunction(<dtml-var myField1>)"></p> </dtml-in>
Patrick Lewis <plewis@inetarena.com> answers:
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.
I tried your suggestions. The result was that Zope asks me for authentification, that failed even with a valid user who has manager and owner rights. cu & thanx.
9112
Age (days ago)
9112
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jan Kubatzki