[Zope] Clipboard functionality in my app
Dieter Maurer
dieter@handshake.de
Thu, 8 Nov 2001 21:55:44 +0100
Douwe Osinga writes:
> 1) After the user presses Cut, my browser will be pointed to the Zope environment, eventhough the url in address still has the right value. I would like to return to the page where I came from, not the Zope environment.
Check the action of your form!
Seems to point to a Zope management page.
> 2) I cannot determine when to show the Paste button. Zope only shows it when Paste is possible. I would like to do this too and build some more restrictions (not all objects should be pastable in all folders).
Zope remembers the clipboard content in a cookie.
The paste button appears when the cookie is defined and not empty.
Dieter