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. :-)

Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to