Hmm, never tried. How are you serving the document? Static? You could try using the DocumentServlet + a redirect?
I read about the DocumentStore after my implementation was already finished. My implementation is very similar to the one Samuel describes here:
I just write my data into the response's OutputStream and finalize the download by flushing and closing the stream and sending an
Sorry for cross-posting, but I worried to get now answer on the Icefaces forum and the matter seems to affect both components.
Problem is still unsolved but I am fine with my workaround, moving the download link to a page without form submit.
Thanks for thinking.