[Zope] loop over non sequence !!!

sanjeev c s sanju22_us@yahoo.com
Thu, 29 Nov 2001 05:45:23 -0800 (PST)


hello,
I want to delete last item from a folder, everytime
the method is called.
suppose name of the folder is pics
so in a DTML method i say
---------------------------------------------------
<dtml-in expr="pics.objectValues()">
<dtml-if sequence-end>
<dtml-call "pics.manage_delObjects(id)">
</dtml-if>
</dtml-in>
----------------------------------------------
i get a error saying
Error Type: TypeError
Error Value: loop over non-sequence

Please help me.
regards,
Sanju.


__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1