On Feb 18, 10:15 pm, Geoffrey Wiseman <geoffrey.wise...@gmail.com>
wrote:
> I have a GWT application that uses GWT-RPC to send data back and forth
> to the server.  I've got a button that downloads a PDF based on that
> data from the server.  PDF Generation works fine, and the download
> worked fine using Window.open().
>
> However, as it stood, the download would not include any data that had
> been changed on-screen; but if I add a GWT-RPC call before the
> download, then IE7 blocks the download because it decides that the
> download is not the direct result of user action (I guess because the
> Window.open happens after the async 'save my data' call).

I came to understand that IE7 would allow me to open the file (Content-
Disposition: inline) even in situations that it wouldn't let me
download it (Content-Disposition: attachment).  Although I was hoping
for the download, opening a PDF worked well enough to suffice for the
time being.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to