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

2006-03-29 Thread Cliff Ford
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 annot

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

2006-03-29 Thread Cliff Ford
Look at nextURL - called at the end of an add/edit sequence for redirection. You can put your object modification code in there. 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 c

Re: [Zope3-Users] editform onSuccess-method

2006-03-29 Thread Jeff Shell
On 3/29/06, Frank Burkhardt <[EMAIL PROTECTED]> wrote: > On Wed, Mar 29, 2006 at 04:12:40PM +0530, baiju m wrote: > > On 3/29/06, Frank Burkhardt <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > I need to do some changes to an object, after it's either created or > > > modifed. Is there a chance to

Re: [Zope3-Users] editform onSuccess-method

2006-03-29 Thread Frank Burkhardt
On Wed, Mar 29, 2006 at 04:12:40PM +0530, baiju m wrote: > On 3/29/06, Frank Burkhardt <[EMAIL PROTECTED]> 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

Re: [Zope3-Users] editform onSuccess-method

2006-03-29 Thread baiju m
On 3/29/06, Frank Burkhardt <[EMAIL PROTECTED]> 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? May

[Zope3-Users] editform onSuccess-method

2006-03-29 Thread Frank Burkhardt
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 ___