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

Martijn Pieters mj at zopatista.com
Thu Sep 14 16:21:34 EDT 2006


On 9/14/06, Martin Aspeli <optilude at gmx.net> wrote:
> Stefan Fink wrote:
> > Error object: 'Action' object is not callable
>
> I wonder if this has to do with the @form.action... decorator on
> handle_edit_acion? Try to take it off and/or replicate the code of the
> edit action itself.

No, all the decorator does is add an Action object to the class
attribute 'actions' (which it creates if it doesn't yet exist).

Without a proper traceback we're just guessing here. Somewhere
something is trying to treat a Action instance as a callable.

-- 
Martijn Pieters


More information about the Zope3-users mailing list