You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Henning Noeth (JIRA)" <de...@myfaces.apache.org> on 2016/04/06 11:34:25 UTC

[jira] [Created] (TOBAGO-1551) There is no filtering in the filechooser, if using

Henning Noeth created TOBAGO-1551:
-------------------------------------

             Summary: There is no filtering in the filechooser, if using <tc:validateFileItem>
                 Key: TOBAGO-1551
                 URL: https://issues.apache.org/jira/browse/TOBAGO-1551
             Project: MyFaces Tobago
          Issue Type: New Feature
          Components: Core
    Affects Versions: 3.0.0-alpha-2
            Reporter: Henning Noeth


In <tc:file>, the content of the files for upload can be set with
<tc:validateFileItem contentType="image/*,application/pdf"/>.
Currently, the user can choose every file. If a wrong file is chosen, the user only know this after the upload-process.

A better way is to use set a filter for the filechooser.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)