[Zope] another problem with manage_clone

Heiko Stoermer heiko@mig.net
Wed, 25 Aug 1999 18:16:54 +0200


hi
I already posted this on monday, but I really don't have a solution yet,
so please be patient...
The situation is nearly the same as in the CMG(Chapter "Creating a
Configuration Interface"), except for the fact that the document to be
cloned is not in the current namespace but in some other folder in the
zope tree:
I want to manage_clone an object into the current folder that lives
_somewhere_, let's say in "foo":

/_root
        |_foo
        |      |_Object
        |
        |_bar
              |_current_folder

there are two DTML-Documents a and b where a is an input form that
contains a list of all objects in foo.
a calls b.
b is supposed to do the following:
<!--#call "manage_clone(foo.Object,'new_html',REQUEST)"-->

well, but of course I can't hardcode "foo.Object", because I don't know
which object the user selects from the list...

How do I accomplish this?


--
Heiko Stoermer
MIG Augsburg