cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ebert <michael.eb...@ebira.de>
Subject Re: Upload cforms wigdet and mime-types.
Date Thu, 31 Mar 2005 06:07:41 GMT
hi,

i had a similar problem with binary files. i removed the mime-types
tag of the form. without any mime-types it worked. but  the problem of
that solution could be, that you can't avoid the upload of other than
image files.


greetings,

michel


AD> Dear List.

AD> I have a simple form with an upload widget:

AD> <fd:upload id="upload" mime-types="image/png, image/jpeg" required="true">
AD>    <fd:label>Déposer ce fichier:</fd:label>
AD>    <fd:hint>Vous devez choisir un fichier</fd:hint>
AD> </fd:upload>

AD> When I try on upload an file without extension, even if the file is an
AD> image/jpeg image, the validation failed with «upload.invalid-type»
AD> message.

AD> I didn't found anything in bug list/patch list. Is it the normal
AD> behaviour?

AD> Rgds.





Mit freundlichen Grüßen,

Michael Ebert


-----------------------------
Michael Ebert

Ebert + Grüntjes GbR
Zeil 65-69
60313 Frankfurt
Tel.: +49 69 928879-17
Mail: michael.ebert@ebira.de




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message