Hi, You can wrap the function in a try...catch block and do your stuff :
public function processForm() { try { parent::processForm(); } catch (sfStopException $e) { $this->redirect(...); } } Not sure if this will work... Try and tell us. Alexandre 2009/12/19 Georg Gell <geor...@have2.com> > Hello, > > I would like to change the target of the redirect in an auto generated > admin form, after the object is saved. > This target is hard coded in processForm() in the base action. Is there > an easier way then copying the whole processForm() method into the > action, and then change only the target (40 lines DoRY). > > Thanks Georg > > -- > > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@googlegroups.com. > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en. > > > -- Alexandre Salomé http://alexandre-salome.fr -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.