[Zope] Redirect after manage

Casey Duncan cduncan@kaivo.com
Thu, 15 Mar 2001 08:03:53 -0700


Garikoitz Araolaza wrote:
> 
> Hi!
> 
> I'm creating a very simple content management application with
> ZClasses and I'm creating some simple interfaces to edit the
> instances.
> 
> How could I control the redirection after using a standard object
> managing method called from my methods, like manage_renameObjects or
> other similar methods? (I've seen RedirectURL and NoRedir... but they
> don`t work as I thought...)
> 
> Thanks for any help
> 
> Gari
> 

Generally if you don't pass RESPONSE or REQUEST to the manage
methods, that suppresses the redirect. To do this, call them in an
expression (<dtml-call expr="...">) and pass only the required arguments 
directly, instead of passing the entire REQUEST object.
-- 
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>