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 define methods on

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

[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