[Zope] uploading images when addnig a new Product

Kevin Howe khowe@performance-net.com
Mon, 4 Oct 1999 14:26:29 -0300


Hi All,

I've created a class(with Object Manager Base Class) which has 2 file upload
fields in it's add form. When run, I get the following:

Error Type: AttributeError
Error Value: __len__

Can anyone tell me what I am doing wrong? The code follows:

THE DTML "PROCESSOR"
----------------------------------------------------
<!--#var standard_html_header-->

<!--#with "Basic.createInObjectManager(REQUEST['id'], REQUEST)"-->
<!--#call "propertysheets.Properties.manage_editProperties(REQUEST)"-->
<!--#call "manage_addImage(on,REQUEST['on'])"-->
<!--#call "manage_addImage(off,REQUEST['off'])"-->
<!--#/with-->

<!--#call
"RESPONSE.redirect(DestinationURL()+'/manage_main?update_menu=1')"-->

<!--#var standard_html_footer-->

Thanks,
Kevin Howe