[Zope3-Users] Override a browser class

Johan Carlsson johanc at easypublisher.com
Tue Oct 18 11:31:44 EDT 2005


Stephan Richter wrote:
> 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.

Thanks Stephan,
Yes, I figured that out :-)
Johan

-- 
Johan Carlsson          Tel: + 46 8 31 24 94
Colliberty              Mob: + 46 70 558 25 24
Torsgatan 72            Email: johanc at easypublisher.com
SE-113 37 STOCKHOLM



More information about the Zope3-users mailing list