How to show message during initial loading of gwt application? -


i want display message (please wait...) or animated gif before initial entire loading of gwt application.

can give me full example please.

thanks

because gwt app not yet loaded, have in pure html/css and/or js in html host page. easiest put in <body> , when gwt app loads starts cleaning "loading" message (e.g. document.get().getelementbyid("loading").removefromparent())

another possibility use code-splitting: make first fragment that's small possible , display "loading" message, , load rest of app in background. in runasynccallback, hide "loading" message.

that said, if feel need display such "loading" message, imo have bigger problem finding how display (and if struggle find how display one, you're in bad shape build app people enjoy using; fortunately, fixable: keep learning!).


Comments

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -