Ralph wrote at 2005-6-15 20:59 +0200:
> ...
>Method A in "report1" is rendering B in "util". B is rendering a ZSQL-object 
>in "sql" and in the tag <dtml-in>  is rendering C (python-method) in "util", 
>to render a table cell, but this isn't working, because E is unknown and I 
>don't know why.
>DTML-Method A:
><dtml-in "sql.list_mytable" prefix="pre">
> <dtml-var "util.B(index=pre_index)">

I assume "B" is a DTML object...

Then, you make one of the most frequent errors when dealing with
"DTML" objects. They have 2 essential positional arguments.
If you forget to pass them (usually as "None, _"), then
the called DTML object gets a new empty namespace...

For details, please the the "Calling DTML objects" section in


Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to