Re: [Zope] Using aquisition inside a dtml method of a product ?

2000-12-08 Thread Andreas Jung
On Thu, Dec 07, 2000 at 10:07:25PM -0500, Tres Seaver wrote: Could it be that you don't derive your product class (directly or indirectly) from Acquisition.Implicit? Otherwise, I'm stumped. I use just the code you describe inside the PTK, for instance. Yes, that was the problem. I took the

Re: [Zope] Using aquisition inside a dtml method of a product ?

2000-12-08 Thread Tres Seaver
On Fri, 8 Dec 2000, Andreas Jung wrote: On Thu, Dec 07, 2000 at 10:07:25PM -0500, Tres Seaver wrote: Could it be that you don't derive your product class (directly or indirectly) from Acquisition.Implicit? Otherwise, I'm stumped. I use just the code you describe inside the PTK, for

[Zope] Using aquisition inside a dtml method of a product ?

2000-12-07 Thread Andreas Jung
Inside a product my index_html is set to "index_html=HTMLFile('index_html',globals())" The index_html.dtml calls dtml-var standard_html_header. This DTML method is available in the top-level hierarchy. However When I call index_html Zope complains with a KeyError/standard_html_header.

Re: [Zope] Using aquisition inside a dtml method of a product ?

2000-12-07 Thread Dieter Maurer
Hi Andreas, Andreas Jung writes: Inside a product my index_html is set to "index_html=HTMLFile('index_html',globals())" The index_html.dtml calls dtml-var standard_html_header. This DTML method is available in the top-level hierarchy. However When I call index_html Zope

Re: [Zope] Using aquisition inside a dtml method of a product ?

2000-12-07 Thread Tres Seaver
Andreas Jung [EMAIL PROTECTED] wrote: Inside a product my index_html is set to "index_html=HTMLFile('index_html',globals())" The index_html.dtml calls dtml-var standard_html_header. This DTML method is available in the top-level hierarchy. However When I call index_html Zope