4 Replies Latest reply on Sep 22, 2008 6:05 AM by Andrei Markavtsov

    Problem with acceptedType in rich:fileUpload + allowFlash =

    demetrio812 Apprentice

      I have this component:

      <rich:fileUpload id="filesImg" uploadData="#{userEditor.data}" acceptedTypes="jpg" listHeight="50" ontyperejected="alert('typer');" onsizerejected="alert('sizer');" immediateUpload="true" maxFilesQuantity="1" allowFlash="true" >

      When I select a .jpg file nothing happens, but if I set allowFlash to false it works!

      I think it is a bug, or do I wrong something?


      Demetrio Filocamo