[Zope] copy/paste problem with dtml

Michel Pelletier michel@digicool.com
Tue, 04 Apr 2000 10:54:33 -0700


Philipp Dunkel wrote:
> 
> <dtml-with Members>
>  <dtml-with "_.getitem(uname).content">
>   <dtml-call "manage_copyObjects(ids)">
>  </dtml-with>
>  <dtml-with "_.getitem(AUTHENTICATED_USER.getUserName()).content">
>   <dtml-call "manage_pasteObjects()">
>  </dtml-with>
> </dtml-with>
> 
> I call this one and pass a list of ids (ids) and a username (uname)
> the objects are kept in Members/[username]/content
> I always get the error:
> No clipboard data found
> 
> Anybody any idea?

The mechanism is based on cookies, therefore when it goes to paste it
cannot find a cookie.

Perhaps you can add a suggestion to the Interfaces Wiki about adding a
DTML and python interface to cut and paste?

http://www.zope.org/Members/michel/Projects/Interfaces

-Michel