[Zope] copy a Product

marc lindahl marc@bowery.com
Thu, 29 Nov 2001 11:54:58 -0500


You're not copying a product, you're copying an instantiation of a product -
which is just an object, like anything else in zope.  You can cut/copy/paste
via the ZMI - which means if you want a dtml method, look at the source for
the ZMI methods (or check the zope book - manage_copy or something like
that), and use that code in your dtml method.

> From: Clark OBrien <COBrien@isis-server.vuse.vanderbilt.edu>
> Date: Thu, 29 Nov 2001 09:45:03 -0600
> To: "'zope@zope.org'" <zope@zope.org>
> Subject: [Zope] copy a Product
> 
> Hello,
> I want to write a DTML method that will copy a product (squishdot)
> from one Folder to another Folder. Any ideas.
> Clark
> 
> _______________________________________________
> 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 )