[Zope] recursive constructions

Robin Becker robin@jessikat.fsnet.co.uk
Mon, 6 Nov 2000 17:54:30 +0000


I would like to duplicate a folderish zclass path and copy some properties across from one
tree /R/A/B/C to another /L/A/B/C.

The request to create an object is

http://localhost/R/manage_addProduct/myProd/myProd_factory/myProd_add?id=A,prop=1

I would like to then create  /L/A/B/C etc using some kind of recursive scheme, but I don't
know how to call a method to do this recursively and maintain the original permissions.
Somehow I seem to lose something along the way.

the actual sequence of calls would be
http://localhost/L/manage_addProduct/myProd/myProd_factory/myProd_add?id=A,prop=1
http://localhost/L/A/manage_addProduct/myProd/myProd_factory/myProd_add?id=B,prop=1
http://localhost/L/A/B/manage_addProduct/myProd/myProd_factory/myProd_add?id=C,prop=1
-- 
Robin Becker