26 Oct
2001
26 Oct
'01
11:15 p.m.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Kirk Strauser
I have a variable named 'imagename' that stores the value of the id I'd like the Photo to have. Another variable, 'imagefile', is the object returned for an <input type="file" ...> form element. I had been using:
<dtml-call expr="manage_addImage(id=imagename, file=imagefile, title=imagename)">
Try this: <dtml-call expr="manage_addProduct['Photo'].manage_addPhoto( id=imagename, title=imagename, file=imagefile)"> _______________________ Ron Bickers Logic Etc, Inc.