Hi, what I'd to is:
1.) Display an image with some "loading..." animation
2.) Start the RPC asynchronously, e.g. like
tagDatabaseService.loadAllTagsForPerson(new TagQueryMessage(
tagQuery), new
AsyncCallback<TagListMessage>() {
public void onSuccess(TagListMessage
result) {
// HERE
3.) at the spot marked with //HERE, remove the image again and do
something with the result you obtained via RPC
Hope this helps...
On Jul 2, 6:02 pm, crojay78 <[email protected]> wrote:
> Hi,
>
> I need to load a few things from my server after a user gives input.
> Can somebody give an example how I can show a load screen as long as
> the rpc is not finished? I structured the app in mvp style ... any
> example would help me
>
> Best regards
>
> 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 [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.