[Zope] Cloning a ZClass-Instance

brocken22@gmx.de brocken22@gmx.de
Tue, 7 Nov 2000 11:28:30 +0100 (MET)


Hallo,
'news'is a zclass and when I'm using a hardcoded value for x it's working.

that's the cloning-method:
------------------------------
<dtml-in "objectValues(['news'])">
<dtml-let x=sequence-item>

<dtml-if "now.isCurrentDay()">
 <dtml- call "manage_clone(_.getitem('x',0),'firstclone', [REQUEST])"> 
                
Copied!
<dtml-else>
Not needed to clone!!
</dtml-if>
</dtml-let>
</dtml-in>
------------------------------
And the traceback:
---------------
The object one  does not support this operation 
---------------
Thanks for your help!

-- 
Sent through GMX FreeMail - http://www.gmx.net