[Zope3-dev] Re: [Zope3-Users] Override a browser class

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


On Tuesday 04 October 2005 10:53, Lennart Regebro wrote:
> The standard Contents.pasteable and  pasteObjects is hardcoded for two
> actions, 'copy' and 'cut'. I have the feeling here that it could be
> cool to actually use adapters instead, so that you adapt yourself to
> the paste action you want? Or is that overkill.

Now that Johan has a use case, it would probably be good to have. Feel free to 
change the code.

> Seondly, Johan has discovered a bug. pasteable raises an error when
> you try a pste action that is not supported (ie anything else that
> 'cut' and 'copy'). Ut should return False. It's a copy/paste error
> from pasteObjects, ironically enough. ;)

Please file an issue or even better fix the code. :-)

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-dev mailing list