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
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )