GwtBootstrap3 V1.0.2 Offline Modus - need help

37 views
Skip to first unread message

Richard G

unread,
Sep 6, 2020, 4:46:15 AM9/6/20
to GwtBootstrap3
I am using GWT Bootstrap 3 and try to get the offline modus to work. I failed, getting a blank browser screen instead of my app.

I tried to follow the instructions in Demo Version 1.0.2 as good as possible. Maybe I missed something.

SiMaSoWeb.gwt.xml:
...
  <inherits name='com.google.gwt.json.JSON'/>  
  <inherits name="com.google.web.bindery.autobean.AutoBean"/>  
  <inherits name="org.gwtbootstrap3.extras.cachemanifest.Offline"/> 
...
  <add-linker name="offline" />

SiMaSoWeb.html:
<!doctype html>

<html manifest="simasoweb/appcache.manifest">
  <head>
    <title>Sirene</title>

    <script type="text/javascript" language="javascript" src="simasoweb/simasoweb.nocache.js"></script>
    <script src="http://www.openlayers.org/api/OpenLayers.js"></script>
    <script src="http://www.openstreetmap.org/openlayers/OpenStreetMap.js"></script>    
    <link type="text/css" rel="stylesheet" href="SiMaSoWeb.css">
....
</html>

In ...\simasoweb\appcache.manifest I find:
CACHE MANIFEST
# Version: 1599380329409.0.6297069797290025

CACHE:
AF4477772D0DB53A10ABCF74A5AE0C4D.cache.js
fonts/fontawesome-webfont.woff
clear.cache.gif
fonts/FontAwesome.otf
css/bootstrap-notify-custom.min.cache.css
7192594CA2F468C2F793523022719FA0.cache.js
...
css/font-awesome-4.7.0.min.cache.css

NETWORK:
*


Finally
I compile all this . Resources seem to be included in the war file ..
Needless to say that with Internetconnection all is running fine ..
Any help is kindly appreciated.

Best Regards,

Richard G

unread,
Sep 16, 2020, 2:46:37 PM9/16/20
to GwtBootstrap3
Not the best solution, but this is how I solved it for myself:


Best Regards,
Reply all
Reply to author
Forward
0 new messages