>With <dtml-call insertItem>, Zope gives me following error message:

If the parameters are from another SQL statement, then the SQL method will 
not find them, since not the entire namespace is sent.

Try:
<dtml-call "insertItem(param1=pvalue1, param2=pvalue2, param3=pvalue3, 
param4=pvalue4)">

pvalueX can be also a variable. If your variables are called paramX, then 
the following will work:

<dtml-call "insertItem(param1=param1, param2=param2, param3=param3, 
param4=param4)">

That is typical Python syntax. So in case you want to know why and how that 
works, read a little in the Python documentation (which is btw excellent.)

Regards,
Stephan
--
Stephan Richter
CBU - Physics and Chemistry
Web2k - Web Design/Development & Technical Project Management


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to