[Zope] context in fs product

Roman Klesel roman_plonemail at lotuseyes.de
Mon Feb 20 04:40:27 EST 2006


Lennart Regebro schrieb:
 > It's usually called "self"...


hmmm ... strange ...

in a class:


class Controller(Implicit,ObjectManager, SimpleItem):
	"""asfd"""

I have a method:

def testspace(self,REQUEST=None):
   """tests"""
   req = self.absolute_url(self)
   return req

and on whatever URL I call it , it returns the base URL of the product instance ...

All classes in the product subclass form Acquisition.Implicit. What am I missing here?

Thanks so far!

Roman




More information about the Zope mailing list