Hi, On Mon, Oct 31, 2005 at 08:51:58AM +0100, Dominik Huber wrote:
[snip] > >How can Zope be forced to use the template instead of __call__ing > >the TestView-Object? > > > > > If you use the the browser:form, browser:edit and/or browser:add > directive your TestView will be mixed in automatically during the setup. > In your example you are going to overwrite the __call__ method of the > mixed-in base class which is invoking the template. If you like to > overwrite the __call__ method, you have to call you base class too: > > class TestView(object): > def __call__(self): > # do something else > return super(TestView, self).__call__() Thank you - that's what I was looking for. Regards, Frank _______________________________________________ Zope3-users mailing list [email protected] http://mail.zope.org/mailman/listinfo/zope3-users
