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

Download links created with a4j:mediaOutput are unusable for inexperienced end users



      Creating a download link with a4j:mediaOutput yields an <a where the URL in the href is several hundred characters long and ends with .jsf regardless of the content type. If the end user tries to download the file then, depending on the browser settings, the following happens:
      – if the browser is configured to store all downloads in a given folder and the user left-clicks on the link, then nothing happens. The only chance is to right- click on the link and select "save as".
      – if the "save as" dialogue opens because the user selected it by right- clicking or because the browser is configured to ask each time for the folder to save the file, then the suggested file name is several hundred characters long and always ends with .jsf. Accepting the suggested file name usually results in an OS error "illegal filename". The user has to rename the file and give it the right extension (which he/she has to know) in order to be able to download the document and open it.

        Gliffy Diagrams




              • Assignee:
                nbelaevski Nick Belaevski
                dorfbewohner alexander winizki
              • Votes:
                0 Vote for this issue
                1 Start watching this issue


                • Created: