Saturday, November 20, 2010

Re: How to kill a GWT request which has not yet completed

Hi,

why not just ignoring the answer in certain cases?

Stefan Bachert
http://gwtworld.de


On 19 Nov., 20:47, Sunit Katkar <sunitkat...@gmail.com> wrote:
> I Googled and also this group but could not find an answer.
>
> Here is the use case:
>
> 1) User enters a value in a textfield and clicks Submit button
> 2) The GWT RPC request has been sent to the server where it will take some
> time to process. (Say 10 or 15 seconds)
> 3) But before the request can be seviced by the server and and the
> onSuccess() is called on the client side, the user needs to do something
> else, which requires that this request be killed.
>
> How do you kill a just fired GWT RPC request? We cannot provide a separate
> UI button which the user clicks to send a KILL request to the server with a
> request id, etc. However, we can allow for 'kill just fired request' code
> when user navigates to another part of the screen or does the new action.
>
> Any ideas?
>
> Thanks.

--
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


Real Estate