[Fwd: Re: [Zope3-Users] editform onSuccess-method]

Cliff Ford Cliff.Ford at ed.ac.uk
Wed Mar 29 11:13:50 EST 2006


Look at nextURL - called at the end of an add/edit sequence for
redirection. You can put your object modification code in there.

What I mean is that you define your own nextURL function in your form 
support class. It gets called instead of the default and you can do 
things in it like set annotations or add objects to a new container.

Cliff

Frank Burkhardt wrote:
> Hi,
> 
> I need to do some changes to an object, after it's either created or
> modifed. Is there a chance to define methods on the object's class that are
> called after the addform or the editform are done creating/changing the
> object? Maybe there's a ZCML-way to do this?
> 
> Regards,
> 
> Frank
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users



More information about the Zope3-users mailing list