[Zope] problems with manage_clone
Oliver Frommel
oliver@aec.at
Thu, 21 Oct 1999 20:57:15 +0200 (CEST)
Hi,
my Folders look like this:
/templ/link (DTML Doc)
/m945/process (DTML Meth)
/subfolder
one thing I try do do for testing is to clone the "link" object with
the "process" method which looks like this:
<dtml-with sendung>
<dtml-call "manage_clone(link, 'new_id', REQUEST)">
</dtml-with>
After reading the Acquisition docs and the Namespace HowTo i thought that
the namespace stack of "process" would contain the root folder and the "templ"
folder too. But when i run the "process" method i get the following error:
Error Type: NameError
Error Value: link
do I have to put the "link" object into the root folder?
assuming i get this to work how can i then clone a new object to the
"subfolder"??
Is there a way to provide manage_clone() with dest. object with a certain
namespace?
Thanks
Oliver