Re: [Zope] Problem with namespace (zope: addressed to exclusive sender for this address)

2005-06-18 Thread Ralph
On Thursday 16 June 2005 19:24, Dieter Maurer - [EMAIL PROTECTED] wrote:
> Ralph wrote at 2005-6-15 20:59 +0200:
>
> For details, please the the "Calling DTML objects" section in

Thank you for the answer. It was a simple programming failure, after 12h of 
working. 


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


Re: [Zope] Problem with namespace

2005-06-16 Thread Dieter Maurer
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   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:
>
> 

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

  

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


[Zope] Problem with namespace

2005-06-15 Thread Ralph
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   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-Method B

   


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

Ralph





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