myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mfaine" <>
Subject x:inputFileUpload - accept multiple file formats
Date Fri, 18 Feb 2005 14:08:21 GMT
Is it possible to accept multiple mime types.  What is the format?  Should
this work?

 <x:inputFileUpload id="fileupload"                                      
accept="image/*,application/pdf" ...

At the moment I can't even get it to accept only one mime type so I'm
obviously doing something wrong:

 <x:inputFileUpload id="fileupload"                                      
accept="application/pdf" ...

The above still alows any mime type to be uploaded.


View raw message