Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-8333

the property "acceptedTypes" for the component <rich:fileUpload> don't work

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Cannot Reproduce Bug
    • Affects Version/s: 3.3.2.SR1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows vista

      Description

      With chrome and firefox and probably other browser, i can select every type (file with any extension) even if i limit with the property acceptedTypes.
      Bug is in demo : http://livedemo.exadel.com/richfaces-demo/richfaces/fileUpload.jsf

      sample where it's work: on http://imageshack.us/ you can select only the picture files.

        Gliffy Diagrams

          Activity

          Hide
          nbelaevski Nick Belaevski added a comment -

          If flash is not used, then non-acceptable files can still be selected in dialog, but don't get added when you press ok - that's a limitation of browser file selection dialog.
          In flash mode only files with accepted types can be added.

          Show
          nbelaevski Nick Belaevski added a comment - If flash is not used, then non-acceptable files can still be selected in dialog, but don't get added when you press ok - that's a limitation of browser file selection dialog. In flash mode only files with accepted types can be added.

            People

            • Assignee:
              nbelaevski Nick Belaevski
              Reporter:
              SiX-P4cK Nicolas U.
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development