[Zope] is it possible to get a file from its id?
Andreas Jung
Andreas Jung <lists@andreas-jung.com>
Tue, 22 Oct 2002 15:23:53 +0200
every of object in your list files has a method getId() that
returns the ID of the object. For further details check
the Zope Book.
-aj
--On Dienstag, 22. Oktober 2002 15:15 +0200 juan garcia=20
<garcia_arboleya@yahoo.es> wrote:
> if I have done
>
> files =3D container.Entries.objectIds('File')
>
> instead of
>
> files =3D container.Entries.objectValues('File')
>
> how can I later get the file from its ID?
>
>
>
> _______________________________________________________________
> Yahoo! Messenger
> Nueva versi=F3n: Webcam, voz, y mucho m=E1s =A1Gratis!
> Desc=E1rgalo ya desde http://messenger.yahoo.es
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> 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 )
---------------------------------------------------------------------
- Andreas Jung http://www.andreas-jung.com -
- EMail: andreas at andreas-jung.com -
- "Life is too short to (re)write parsers" -
---------------------------------------------------------------------