[Zope] copy/paste problem with dtml

Phil Harris phil.harris@zope.co.uk
Tue, 4 Apr 2000 21:56:44 +0100


Michel,

I am very sure that it isn't a cookie problem.

I was looking at this a few months back, and could find no reason for it not
working.

I did notice that the copy, cut and clone methods all failed with the same
error when called via dtml and external methods, even though I could do the
same copy through the management interface manually.

It so happened that it wasn't critical to me, so I gave up on it.

It would be nice to find out what's going wrong though,  any other ideas?

Phil
phil.harris@zope.co.uk

----- Original Message -----
From: "Michel Pelletier" <michel@digicool.com>
To: "Philipp Dunkel" <phidu@gmx.net>
Cc: <zope@zope.org>
Sent: 04 April 2000 18:54
Subject: Re: [Zope] copy/paste problem with dtml


>
>
> 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
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )