[Zope-dev] context bindings in python products

Chris McDonough chrism@digicool.com
Tue, 05 Jun 2001 17:18:57 -0400


Bernd Dorn wrote:
> 
> this doesnt work either
> 
> my test funtion:
> 
> def test_htm(self):
>         """ just test """
>         context = self.aq_parent
>         return context.absolute_url()
> 
> returns always the absolute_url of the parent object of the class instance

I think I understand what you mean.

Yes, you're right.  To make it work differently, you're right in saying
you need to create an HTMLFile instance (or another methodish thing).

- C