[Zope] REQUEST object in product

Dieter Maurer dieter@handshake.de
Fri, 20 Sep 2002 20:40:07 +0200


douwe@oberon.nl writes:
 > ...
 > However, the wiget method now no longer has access to the
 > REQUEST object which is implicitetly passed to the zclass method. Is there a
 > way to get the current REQUEST object from within a method of a product?
If the instance is acquisition wrapped, you can access REQUEST via
acquisition:

	"self.REQUEST"


Dieter