On Thu, Sep 14, 2006 at 10:21:34PM +0200, Martijn Pieters wrote:
> On 9/14/06, Martin Aspeli <[EMAIL PROTECTED]> 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).

This is not true. The decorator also returns the action, meaning that
self.handle_edit_action will be an Action, not a method.


Zope3-users mailing list

Reply via email to