Never send zope related questions to me privately, please. List readded! KJZZ Webmaster wrote at 2007-1-23 16:07 -0700:
Dieter,
Before I post to the list, let me be sure this is what you are suggesting:
finally: security.removeContext(self) if first_time_through: if 'validate' in self.__dict__: del self.__dict__['validate']
Yes. -- Dieter
Dieter, thank you for the suggestion on how to change \lib\python\OFS\DTMLMethod.py to avoid the key error. Before I went ahead and altered zope's the underlying code, I thought I would try Andres' suggestion first, by rewriting the dtml method as a python script: REQUEST = container.REQUEST RESPONSE = REQUEST.RESPONSE REFERER = REQUEST.get_header('HTTP_REFERER') catalog = context.Catalog catalog.manage_catalogReindex(REQUEST, RESPONSE, REFERER) RESPONSE.redirect(REFERER) This seems to have fixed the issue. I'll let you know if I notice anything further. Thanks kindly, John T.
-- Original Message -- Date: Mon, 22 Jan 2007 18:01:30 +0100 From: Andreas Jung <lists@zopyx.com>
Rewrite the code using a PythonScript and check again for errors.
Does anyone if there is a product (specifically for zope) for creating a "captcha" image to verify that an actual human is submitting a form? I am using zope 2.8.1 with python 2.3.5 on a windows server. I am currently looking into this: http://captchas.net/sample/python/
Does anyone if there is a product (specifically for zope) for creating a "captcha" image to verify that an actual human is submitting a form?
I am using zope 2.8.1 with python 2.3.5 on a windows server. I am currently looking into this:
http://captchas.net/sample/python/ AFAIK there is such product for Plone, you may want to take a look at this.
-- Maciej Wisniowski
participants (4)
-
Dieter Maurer -
KJZZ Webmaster -
kjzz.webmaster@riomail.maricopa.edu -
Maciej Wisniowski