[Zope] File objects

Dirk Datzert dirk.datzert@rasselstein-hoesch.de
Sat, 01 Jun 2002 14:59:39 +0200


mediaweb@linfe.it schrieb:
> 
> From Dirk Datzert, Sat Jun 01, at 12:38:
>  .try:
>  .
>  .   <dtml-in "aq_parent.objectValues('File')">
>  .           <li><dtml-var id></li>
>  .   </dtml-in>
>  .
> 
> nothing displayed, besides header and footer
> 
>  .    def objectValues(self, spec=None):
>  .        # Returns a list of actual subobjects of the current object.
>  .        # If 'spec' is specified, returns only objects whose meta_type
>  .        # match 'spec'.
>  .        return map(self._getOb, self.objectIds(spec))
>  .
> 
> everything seems to be in the list out, files created by ADD -> File sequence
> are included.
> 
> Should i conclude that objects created by ADD->File sequence are not File objects?

I think so. You use the term 'File sequence'. Do you mean an object of
type 'file' or an
object of type 'file sequence' which I don't know ?

Try to search via search dialog and select only the meta-type 'File'. Is
your file sequence been found ?

> 
> thank you
> 
> --
> Max