This doesn't answer your question directly but it should give you some
ideas:

public abstract class ActionCallback<ResultType> implements
AsyncCallback<ResultType> {

        @Override
        public final void onFailure(Throwable caught) {
                BusyIcon.hide();
                Window.alert("RPC Error: " + caught.getMessage());
                handleFailure(caught);
        }

        @Override
        public final void onSuccess(ResultType result) {
                BusyIcon.hide();
                handleSuccess(result);
        }

        /* Override to handle event failure result */
        protected abstract void handleFailure(Throwable caught);

        /* Override to handle event success result */
        protected abstract void handleSuccess(ResultType result);

}


On Jul 2, 7:02 pm, crojay78 <croja...@googlemail.com> 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 google-web-tool...@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