On Fri, May 04, 2007 at 09:26:17AM +0200, Michael Howitz wrote:
> I'm using zope.formlib.form.EditFormBase and want to normalize data
> before saving it.
> Saving is done by the applyChanges function which is called from
> handle_edit_action.
> The problem is that handle_edit_action is an actio
>
> No, my suggestion does not break any existing code because it only
> adds a new method to EditFormBase which gets called from
> handle_edit_action instead of the function. This new method then calls
> the applyChanges function. So you are able to overwrite the new method
> in a subclass to nor
Am 04.05.2007 um 10:28 schrieb Maciej Wisniowski:
[...]
What code you have to copy-paste from formlib when you add your own
handle_edit_action?
I think it is common to do something like:
from zope.formlib import form
form.applyChanges(...)
The method EditFormBase.handle_edit_action contains co
> I'm using zope.formlib.form.EditFormBase and want to normalize data
> before saving it.
> Saving is done by the applyChanges function which is called from
> handle_edit_action.
> The problem is that handle_edit_action is an action, so I can't easily
> subclass and do a super call to handle_edit_
Hi,
I'm using zope.formlib.form.EditFormBase and want to normalize data
before saving it.
Saving is done by the applyChanges function which is called from
handle_edit_action.
The problem is that handle_edit_action is an action, so I can't
easily subclass and do a super call to handle_edit_a