[Zope] DTML and ZSQL help

Jonathan Hobbs toolkit at magma.ca
Thu Aug 5 12:52:57 EDT 2004


----- Original Message -----
From: "Tuttle, Gene" <cetuttle at rottlundhomes.com>
> am having a problem accessing a ZSQL method that is not in the acquisition
> path.
> When try the following I get an error
>
>
> <dtml-in "/SAS/queries/add_customer(REQUEST)">
>
> Expression (Python) Syntax error:
> invalid syntax
> , for tag <dtml-in "/SAS/queries/add_customer(REQUEST)">, on line 23 of
> index_html

try:

<dtml-with "/SAS/queries">
 <dtml-in "add_customer(REQUEST)">

 </dtml-in>
</dtml-with>


HTH

Jonathan




More information about the Zope mailing list