Re: [Zope] Find a object in a zope list

2005-05-08 Thread Andreas Jung

--On Samstag, 7. Mai 2005 19:52 Uhr -0700 Allen Huang [EMAIL PROTECTED] 
wrote:

I have a fold and I used objectValues['Image'] to make a array list of
images. I have rename each image using AUTHENTICATED_pic.jpg and want to
use an if statement to find the image with the same name in the array
list. Can someone tell how?? Is there a findObject function or something??

if someid in folder.objectIds(['Image']):
...
-aj

pgpsIuFZEaHvG.pgp
Description: PGP signature
___
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 )


[Zope] Find a object in a zope list

2005-05-07 Thread Allen Huang
I have a fold and I used objectValues['Image'] to make a array list of images. I have rename each image using AUTHENTICATED_pic.jpg and want to use an if statement to find the image with the same name in the array list. Can someone tell how?? Is there a findObject function or something??
		Yahoo! Mail 
Stay connected, organized, and protected. Take the tour___
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 )