[Zope] Zope Gurus: this is a tricky one, _please_ help

Pavlos Christoforou pavlos@gaaros.msrc.sunysb.edu
Thu, 26 Aug 1999 14:46:57 -0400 (EDT)


On Thu, 26 Aug 1999, Heiko Stoermer wrote:

> Pavlos Christoforou wrote:
> >
> > I would think that something like:
> >
> > <!--# manage_clone(_.getitem(input,0),'newname',REQUEST)-->
> > or maybe
> > <!--# manage_clone(_.getitem(_['input'],0),'newname',REQUEST)-->
> >

Heiko -

I missed the crucial point that the object you wish to clone is not in
your acquisition path.

Thiis should work. (I tested it)
<!--# call "manage_clone(_.getattr(folder,input),'newtest',REQUEST)"-->

I called this DTML method like

http://.../clone_mathod?input=test

and it worked fine

Pavlos