Download links created with a4j:mediaOutput are unusable for inexperienced end users
------------------------------------------------------------------------------------
Key: RF-8330
URL:
https://jira.jboss.org/jira/browse/RF-8330
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-output
Affects Versions: 3.3.2.SR1
Environment: OS-independent
Reporter: alex winizki
Priority: Minor
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira