[Zope] Re: Problems using forms to upload files to Zope

2005-11-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Jakowlew wrote: Here's what I'm trying to accomplish: 1. The user fills out a form page with various fields 2. The user selects a file to upload 3. when the user hits submit two things should happen: - The file selected is uploaded - all

[Zope] Re: Problems using forms to upload files to Zope

2005-11-15 Thread Mike Jakowlew
Okay I corrected:form action="" method=post enctype=multipart/form-dataand also tried the getContentType, but I get the error: Error Type: AttributeError Error Value: FileUpload instance has no attribute 'getContentType'uploadForm.pydef content_type(self): return

Re: [Zope] Re: Problems using forms to upload files to Zope

2005-11-15 Thread Jonathan
PM Subject: [Zope] Re: Problems using forms to upload files to Zope Okay I corrected:form action="" method="post" enctype="multipart/form-data"and also tried the getContentType, but I get the error:Error Type: AttributeErrorError Value: FileUp