RichFaces
  1. RichFaces
  2. RF-8333

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

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved (View Workflow)
    • Priority: Minor Minor
    • Resolution: Cannot Reproduce Bug
    • Affects Version/s: 3.3.2.SR1
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Environment:
      Windows vista
    • Similar Issues:
      Show 10 results 

      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.

        Activity

        Hide
        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
        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:
            Nick Belaevski
            Reporter:
            Nicolas U.
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: