[Zope3-Users] Multiple actions per button in formlib forms?

Stefan Fink stefan at work.de
Thu Sep 14 11:45:34 EDT 2006

Martijn Pieters wrote:
> On 9/14/06, Stefan Fink <stefan at work.de> wrote:
>> how is it possible to add multiple actions per button to formlib forms?
>> Actually I'm trying to create a button which:
>>  - applies all changes made in the form
>>  - takes the user back to the container view
> Just call the second action method from the first? formlib actions
> call one method, but nothing stops you from calling another method
> form the first. It's what I do all the time.

That's what I'm trying to do. The problem is, that when calling
self.handle_edit_action(action, data), which is part of formlib, the
following error is raised:

Error object: 'Action' object is not callable

Sorry, forgot to mention that before. Any ideas how to get things work?

Regards, Stefan.

More information about the Zope3-users mailing list