I seem to get different behaviour when I use method=POST in my forms and then attempt to use RESPONSE.redirect later on in the handling method. It seems as though the method that was used to call the form handler is passed on. Then my index_html hangs waiting for the POST data. Is there a way to change the http request back to GET. -- Robin Becker
I am maybe blind, but cannot find a name for the local object in zope (like "this" in JAVA ). The command call expr="subdirectory.manage_addDTMLDocument(....)" works if subdirectory is a folder in the current folder. However the call expr="self.manage_addDTMLDocument(...)" does not work. Could anyone tell me what I am doing wrong? Cheers, Espen
Try expr="this().manage_addDTMLDocument(...)" although you shouldn't need to do that: expr="manage_addDTMLDocument(...)" should work as well. hth Phil ----- Original Message ----- From: "Espen Sorbye Frederiksen" <ceeesf@cee.hw.ac.uk> To: <zope-dev@zope.org> Sent: Friday, November 17, 2000 3:35 PM Subject: [Zope-dev] What is the local object in zope?
I am maybe blind, but cannot find a name for the local object in zope (like "this" in JAVA ). The command call expr="subdirectory.manage_addDTMLDocument(....)" works if subdirectory is a folder in the current folder. However the call expr="self.manage_addDTMLDocument(...)" does not work.
Could anyone tell me what I am doing wrong?
Cheers,
Espen
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
participants (3)
-
Espen Sorbye Frederiksen -
Phil Harris -
Robin Becker