Hello! How can I download a file from the Ivy-Server's "files/application"-folder to a folder on the client with JSF per program-code? We are using only JSF in this project. No RIA. Is it possibly to download a file to the client without user-interaction in JSF, at all? Kind Regards, Helmut asked 13.09.2015 at 00:42 Helmut Burge... Reguel Werme... ♦♦ |
In my project I solved it via the RequestContext framework from primefaces. It lets you invoke java script code on the client. And in this case I send a redirect to my file as javascript command. The following code should work in a dialog script activity:
answered 14.09.2015 at 10:28 Reguel Werme... ♦♦ |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 13.09.2015 at 00:42
Seen: 3,081 times
Last updated: 15.09.2015 at 19:50
Hi Helmut, Is it possibly to download a file to the client without user-interaction in JSF, at all? I think it is not possible because simply browsers don't allow it due to security issues (web page just can't put files into a specific folder of the client without their approvement).