"manage_editProperties" redirects (was: Re: [Zope] (no subject))

Dieter Maurer dieter@handshake.de
Wed, 8 Jan 2003 21:17:13 +0100


You should provide a good subject for your messages!

Patrick Stinson wrote at 2003-1-6 16:15 -0900:
 > has anyone else had problems with propertysheet.manage_editProperties() and
 > property sheets with int's in them?
 > 
 > I get a a redirect to a page without any error code after calling the
 > function.
That is normal.

  "manage_editProperties" is expected to be used only by the ZMI
  and redirects to the "manage_propertiesForm".

  When you do not like this, call "manage_editProperties" in
  a wrapper, that cleans up after the call.
  It may set the response code to 200 (--> "RESPONSE.setStatus")
  or redirect to a new location (--> "RESPONSE.redirect").


Dieter