5 Nov
2003
5 Nov
'03
4:11 p.m.
objectValues() returns a sequence of objects. You need to iterate over the sequence. On Wed, 5 Nov 2003, Kai Vermehr wrote:
I'm trying to add the property "product" to all the images inside the "image_folder" with this line in Python:
container.image_folder.objectValues(['Image']).manage_addProperty(produc t, name, string)
but it does not work ... why? How should it be done?
thanks! -- 'K:?
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )