Hi all,
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)?
Best Regards,
Johan
PS. The reason I want to change pasteable is that it
raises an exception if the paste action is unknown.
I'm implementing a clone action as an extra variation
of copy and it works in my classes but if I point
to a stock object (with anything I want to clone in
the clipbook) I get an error due to the raise.
My override returns False if the paste action is unknown.
Any core developer that has any opinion on this?
Can it be changed in the core or is there a specific
reason for the raise?
Regards,
Johan
--
Johan Carlsson Tel: + 46 8 31 24 94
Colliberty Mob: + 46 70 558 25 24
Torsgatan 72 Email: [EMAIL PROTECTED]
SE-113 37 STOCKHOLM
_______________________________________________
Zope3-users mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/zope3-users