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
AsyncCallbackTagListMessage() {
Have a look at the following loading panel:
http://www.sencha.com/examples/explorer.html
- you can find the explorer src and the loading image here:
http://www.sencha.com/products/gwt/download.php
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit
This doesn't answer your question directly but it should give you some
ideas:
public abstract class ActionCallbackResultType implements
AsyncCallbackResultType {
@Override
public final void onFailure(Throwable caught) {
BusyIcon.hide();
OK, I have not used RpcRequestBuilder yet and only used RequestBuilder
to alter the target of the request.
How exactly would you use RpcRequestBuilder to hide the panel? And
also from what I understood RpcRequestBuilder has nothing to do with
actually sending the request so displaying a panel on
On 4 juil, 15:25, andreas horst.andrea...@googlemail.com wrote:
OK, I have not used RpcRequestBuilder yet and only used RequestBuilder
to alter the target of the request.
How exactly would you use RpcRequestBuilder to hide the panel? And
also from what I understood RpcRequestBuilder has
This sounds really great Thomas, haven't tried that yet.
Can this be done by subclassing RequestBuilder? And can I actually
really use my subclass of RequestBuilder as return type in
RemoteService methods? Would make me love the ability to use this
return feature of GWT RPC even more!
On 3 Jul.,
On 3 juil, 21:45, andreas horst.andrea...@googlemail.com wrote:
This sounds really great Thomas, haven't tried that yet.
Can this be done by subclassing RequestBuilder? And can I actually
really use my subclass of RequestBuilder as return type in
RemoteService methods? Would make me love
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
You could show your load screen (for example a popup panel or even
just a label) right after issuing the RPC and hide it in onSuccess()
and onFailure().
On 2 Jul., 18:02, crojay78 croja...@googlemail.com wrote:
Hi,
I need to load a few things from my server after a user gives input.
Can
On 2 juil, 18:22, andreas horst.andrea...@googlemail.com wrote:
You could show your load screen (for example a popup panel or even
just a label) right after issuing the RPC and hide it in onSuccess()
and onFailure().
And if you want the same panel to be shown in most cases, you could
bake it
10 matches
Mail list logo