Thanks! I just tried, and for my problem, it works great!

On Mar 12, 5:21 pm, Thomas Broyer <t.bro...@gmail.com> wrote:
> On 12 mar, 11:01, nikolcha <risticnik...@gmail.com> wrote:
>
>
>
> > I have this:
>
> > 1. [client] Call server from client via GWT-RPC
> > 2. [server] Create map of the data and store them under the key
> > 3. [server] Return key to the client
> > 4. [client] Set Servlet URL with the key as query parameter in the
> > com.google.gwt.user.client.ui.Frame instance
> > 5. [server] In the Servlet, lookup for the data with exact key
> > 6. [server] Generate PDF from data and return response (OutputStream)
>
> > Is this possible in "one way"???
>
> > Explanation:
> > I have large amounts of data on the client which must be send to the
> > server, transform them (eg. XSL-FO), generate PDF,
> > and return to the client (show PDF in widget, not in new window or
> > something like that).
>
> > This data can't be send via GET method, so is there any solution?
>
> Do youPOSTrequestusing a FormPanel targetting your Frame (hint: use
> a NamedFrame). But you won't be able to detect errors, the servlet
> will have to send some error message back, that will be seen by the
> user in the end (in the frame, in place of the expected PDF)
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to