Hello, I want to write a DTML method that will copy a product (squishdot) from one Folder to another Folder. Any ideas. Clark
On Thu, Nov 29, 2001 at 09:45:03AM -0600, Clark OBrien wrote:
I want to write a DTML method that will copy a product (squishdot) from one Folder to another Folder. Any ideas.
A Product or a Product's instance? For a Product's instance use manage_clone or manage_copyObjects+manage_pasteObjects. Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
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 )
participants (3)
-
Clark OBrien -
marc lindahl -
Oleg Broytmann