-
1. Re: Problem combining ice:commandButton with s:link for PDF download
nickarls Oct 1, 2008 11:08 AM (in response to nordmeyer)Hmm, never tried. How are you serving the document? Static? You could try using the DocumentServlet + a redirect?
-
2. Re: Problem combining ice:commandButton with s:link for PDF download
nordmeyer Oct 1, 2008 12:10 PM (in response to nordmeyer)Hi Nicklas,
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
facesContext.responseComplete();
I Suspect the JavaScript delivered with Icefaces and Seam to somehow block the klick on browser side. Don't know how to track this.
Any idea?
CU,
Thomas -
3. Re: Problem combining ice:commandButton with s:link for PDF download
nordmeyer Oct 2, 2008 4:43 PM (in response to nordmeyer)http://www.icefaces.org/JForum/posts/list/0/9949.page#41178
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.
CU,
Thomas