[Zope] Invalid Header(0) from dtml-call tag
Andres Corrada
andres@corrada.com
Sat, 13 Nov 1999 19:44:22 -0500
Hi,
I'm getting an "Invalid Header(0)" error when I call a method somewhat
like this:
<dtml-var standard_html_header>
<dtml-let x='foo'>
The value of x is: <dtml-var x><br>
<dtml-call "an_sql_method(bar=x)">
</dtml-let>
<dtml-var standard_html_footer>
The SQL method correctly does its database task but it seems to trigger
the error, because
if I wrap the dtml-call tag with dtml-comment tags I get no error.
What am I missing? I searched the list for this error and previous
posters suggested inserting
<dtml-call "RESPONSE.setHeader....> but this does not make a difference
either at the beginning
the method above or inside the dtml-let tags.
------------------------------------------------------
Andres Corrada-Emmanuel Email: andres@corrada.com
Owner http://www.corrada.com/mamey
Mamey Phone: (413) 587-9595
------------------------------------------------------