[Zope-dev] COPY/PASTE problem

Johan Beauce jbeauce@odyssey-group.com
Thu, 4 Oct 2001 10:34:17 +0200


Hello,

I would like to copy and paste file in my site.
I created "copy button" with this code :

<dtml-let objCopy="_.getattr(PARENTS[0], idChk)">
   <dtml-call expr="objCopy.manage_copyObjects([idChk])">
</dtml-let>

this code don't make an error, but I'm not sure that's work!
I suppose that "manage_copyObjects()" reference the file
in the clipboard, but how can I use the function "paste",
maybe like that but it doesn't work ...

<dtml-let objPaste="_.getattr(PARENTS[0],)">
   <dtml-call "objPaste.manage_pasteObjects()">
</dtml-let>

how can I view the content of its clipboard ?
thanks,

Johan.