I need to implement a file download functionality for my application. I followed this example Forcing a save as dialogue from any web browser from JSF application but the save dialog never appears while the code executes normally. After I looked at my http response I saw that is wrapped in a pretty faces response since I'm also using pretty faces. Is there something I should change to make it work with pretty faces (assuming that is the reason for not working)?
EDIT:
It seems that the problem was not Pretty Faces but Icefaces. By just adding the icefaces libraries to my application the download method does not work and the dialog never appears. By removing it it works. Any ideas?