[Zope3-Users] Override a browser class

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Oct 18 08:14:46 EDT 2005


On Monday 03 October 2005 04:09, Johan Carlsson wrote:
> I want to replace the pasteable in
> zope.app.container.browser.contents.Contents
> for all content types.
>
> I've created a sub class to Contents which override
> the pasteable but I'm not sure how to configure it
> to override the default class (if possible)?

You have to register the container views manually, instead of using the 
containerViews directive.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list