[Zope3-Users] nextURL: add vs edit

Garanin Michael garanin at m-lan.ru
Fri Feb 17 17:44:34 EST 2006


В Птн, 17/02/2006 в 17:02 -0500, Shaun Cutts пишет:
> Ok -- 
> 
> Thanks Gary and Michael.
> 
> I've defined "changed" in my mixin, and it works:
> 
>     def changed( self ):
>         self.request.response.redirect(self.nextURL())
> 
> And I can still use the same mixin to do redirect for both edit and add
> forms, so I can't grumble about that.
> 
> I'm curious how this works, however, since EditView.changed() doesn't
> call self.context.changed(). Who calls it?
> 
What is mixin? Is it content-object or view?



More information about the Zope3-users mailing list