[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML

webmaster@zope.org webmaster@zope.org
Thu, 19 Dec 2002 16:30:25 -0500

A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#2-59


    In short, the *call* tag works exactly like the *var* tag with the
    exception that it doesn't insert the results of calling the

      % Anonymous User - Aug. 10, 2002 1:58 am:
       How would you use <dtml-call> to call a ZSQL Method and pass it some input?

      % Anonymous User - Sep. 24, 2002 5:12 pm:
       Or call a Python Script to preprocess a REQUEST 
       (say, setting defaults, checking previous form values)?

       So far in this book i have not seen a complete discussion of calling callables including parameter passing.

      % Anonymous User - Dec. 19, 2002 4:30 pm:
       For the ZSQL Method:
       <dtml-call "ZSQL_methodName(

       For calling a python script to preset a variable in the REQUEST object:
       <dtml-call "REQUEST.set('variableName',pythonScriptName(arguments))">