You can delete a post using the button on the post, but you cannot edit it.
If you send your request as an RPC, then you expect to get an RPC response.
If the response instead is sending different mime headers (to popup a
download prompt on the browser), I'm pretty sure GWT will throw an error.
That is why I was saying you would want to trigger this with a form POST to
your servlet, not an RPC request, since the POST can open a download prompt.
Jospeh
On Tuesday, June 19, 2012 4:49:03 AM UTC-4, tong123123 wrote:
>
> Finally I use a textbox to store the search criteria history and set its
> visibility to false, then submit the form (FormPanel) to server and in
> servlet, get the textbox value using request.getParameter("XXX");
> there is just some minor unknown about the RPC
>
>> An RPC expects an RPC serialized response
>>
> What does this exactly means? the response generated with
> ServletOutputStream.flush is not allowed, right?
> Thanks for the help!!
>
>
> On Tuesday, June 19, 2012 11:52:17 AM UTC+8, tong123123 wrote:
>>
>> Thanks for your reply.
>> yes, I am using rpc for the previous code.
>> to post a form, I remember FormPanel. but the example above is just a
>> simplified case. in real, I need to pass a search history Map (time as the
>> key, criteria string as the value) to servlet and use the servlet to export
>> the Map content to a text file, Using FormPanel, how to pass the Map to
>> servlet?
>> Also, seem this forum cannot edit post, so how to redact the titles of my
>> previous attachment? delete it?
>>
>>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/xO1RLb5t7UYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.