[Zope] REQUEST not accessible

Jürgen Herrmann Juergen.Herrmann at XLhost.de
Thu Oct 13 06:39:06 EDT 2005


hi all!

i have several products using PageTemplateFiles a lot.

up to some time in them i could just write:
tal:define="results python:here.Catalog.searchResults()"

it seems this isn't working anymore, the catalog would return
all brains instead of seraching the relevant ones... (completely
ignoreing everything in REQUEST)

instead i have to write now:
tal:define="results python:here.Catalog.searchResults(REQUEST=request)"

i suspect that the catalog was able to acquire REQUEST via self.REQUEST
and this isn't working anymore. has anyone had a similar problem? i
don't know what i have changed leading to these kinds of problems...

best regards, juergen herrmann
_______________________________________________________________________

>> XLhost.de - eXperts in Linux hosting <<

Jürgen Herrmann
Bruderwöhrdstraße 15b, DE-93051 Regensburg

Fon:  +49 (0)700 XLHOSTDE [0700 95467833]
Fax:  +49 (0)721 151 463027
WEB:  http://www.XLhost.de


More information about the Zope mailing list