[Zope] Problem with namespace

Ralph zope.drfunfrock at spamgourmet.com
Wed Jun 15 14:59:56 EDT 2005


I have these objects:

A is calling B is calling (D and E)

My directory layout is:

/map/
/map/sql 
/map/util
/map/report/report1
/map/report/report2
/map/report/report3

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.

Example: 

DTML-Method A:
<dtml-in "sql.list_mytable" prefix="pre">
 <dtml-var "util.B(index=pre_index)">
</dtml-in>

DTML-Method B
<td>
<dtml-var expr="C(index=index)">   
</td>

Here is Zope breaking because Zope can't find method C. Could someone help?

Ralph







More information about the Zope mailing list