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

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -