Re: Zip download without Window.open()
We show a "wait" dialog, then send an RPC telling the server to kick
off a backend process (ie. zip up the files), the RPC returns an
identifier (a UUID) to the caller, the caller then polls every so
often sending that UUID to identify which service it's asking about to
get an update on whether the backend process is done or not. When the
polling call indicates the process is done, the client initiates the
download by calling a download servlet directly.
On Jul 27, 8:07 am, Sean <slough...@gmail.com> wrote:
> Hi,
>
> I've followed a bunch of tutorials and I'm able to click a button, send
> parameters via a Window.open() call to an HttpServlet and it will construct
> a bunch of files, zip them up and send them back. The problem is sometimes
> creating these files can take some time, and a blank window just stares at
> me while it's doing so. I was wondering if there's a nicer way, like an RPC
> so I can tell when it's returned or an error has occurred but still have a
> File Dialog pop up for the user to save the .zip as normal?
>
> Thank you.
--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home