Well, this has to be the smallest patch ever:

in TextareaFileField, 
    def preferedEncType(self):
        return "multipart/form-data"

should be:
    def preferedEnctype(self):
        return "multipart/form-data"

(Enctype, not EncType).

Cheers,
Wayne


--- Wayne Larsen <[EMAIL PROTECTED]> wrote:
> 
> This is really a FunFormKit question, but I assume
> it
> applies here as well.  
> 
> When I tried to use the TextAreaFileField field, the
> return value in the upload field is always a string,
> unlike the FileField where I get a cgi.FieldStorage
> object back.  Because of this, I always get the
> filename as the contents of the field -- not exactly
> the desired behavior.
> 
> This appears to be the default behavior on both
> linux
> and windows...  
> 
> Thanks,
> Wayne
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> http://mailplus.yahoo.com
> 
> 
>
-------------------------------------------------------
> This SF.NET email is sponsored by: Order your
> Holiday Geek Presents Now!
> Green Lasers, Hip Geek T-Shirts, Remote Control
> Tanks, Caffeinated Soap,
> MP3 Players,  XBox Games,  Flying Saucers,  WebCams,
>  Smart Putty.
> T H I N K G E E K . C O M      
> http://www.thinkgeek.com/sf/
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/webware-discuss


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-------------------------------------------------------
This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
MP3 Players,  XBox Games,  Flying Saucers,  WebCams,  Smart Putty.
T H I N K G E E K . C O M       http://www.thinkgeek.com/sf/
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to