[Zope] File upload and setting Property

Tilo Renz tilo.renz@student.uni-ulm.de
Sun, 12 Aug 2001 18:37:46 +0200


Florent Guillaume schrieb:
>=20
> >   <dtml-call expr=3D"file_id.manage_addProperty('propertyxy', file_xy=
, 'string')">
> >   <!-- doesn=B4t work becaus there is no file 'file_id'.
> >   I tried different things like getattr(_, file_id) etc. but all this=
 things didn't work. -->
> > </dtml-let>
>=20
> I think you want something like:
> <dtml-call expr=3D"_.getattr(this(), file_id).manage_addProperty('prope=
rtyxy', file_xy, 'string')">
>=20
> Florent Guillaume
> Nuxeo

Thanks - this helped

Tilo Renz