Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Problem with smartgwt loading from wrong url

    I use smartgwt-6.0p.zip. Version info is not available in the console (it says loading version info)....
    I use chrome 54.0.2840.99 on windows 10.
    I have this problem in super-dev-mode: The browser fails to load:
    http://127.0.0.1:8888/isomorphic/ski...kin_styles.css
    Failed to load resource: the server responded 404

    That file is here: C:\Users\mp\v2\ConfigTool\target\ConfigTool-1.0-SNAPSHOT\ConfigTool\sc\skins\Enterprise
    Your library tries to load it from the wrong location.

    same problem with the developer-console. It does not load it from http://127.0.0.1:8888/ConfigTool/sc/...lpers/Log.html.
    It loads from http://127.0.0.1:8888/isomorphic/sys...lpers/Log.html



    How can that be fixed ?

    same problem with: http://127.0.0.1:8888/isomorphic/ski..._collapsed.png


    here is my html:
    <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>yFiles for HTML GWT Overlay Table Editor Demo</title> <link type="text/css" rel="stylesheet" href="lib/yfiles.css"> <link type="text/css" rel="stylesheet" href="ConfigTool.css"> <script src="lib/yfiles/es5-shim.js"></script> <script src="lib/require.js"></script> <script type="text/javascript" language="javascript" src="ConfigTool/loadScriptTagFiles.js"></script> <!-- This script is required GWT bootstrap stuff. --> <script type="text/javascript" language="javascript" src="ConfigTool/ConfigTool.nocache.js"></script> </head> <body> </body> </html> gwt.xml:
    <module rename-to="ConfigTool"> <collapse-all-properties /> <source path="client"/> <source path="shared"/> <set-property name="compiler.stackMode" value="emulated"/> <set-property name="compiler.useSourceMaps" value="true" /> <set-configuration-property name="compiler.emulatedStack.recordLineNumbers" value="true"/> <set-configuration-property name="compiler.emulatedStack.recordFileNames" value="true"/> <!-- Inherit the core Web Toolkit stuff. --> <inherits name='com.google.gwt.user.User'/> <inherits name="com.google.gwt.user.theme.standard.Standard"/> <inherits name='com.google.gwt.logging.Logging'/> <inherits name="yfiles"/> <inherits name='net.sf.gilead.Gilead4Gwt' /> <inherits name="com.smartgwt.Tools"/> <inherits name="com.smartgwt.SmartGwt"/> <inherits name="com.smartgwt.tools.SmartGwtTools"/> <entry-point class='com.raybased.gwt.configtool.client.ConfigTool'/> </module> best regards, Magnus Persson

    #2
    Hi,

    please format your files with [code] tags, so that it is readable.
    Searching your post with Ctrl-F it seems that your html file does not set "isomorphicDir". Please see the samples or do view source on the online showcase.

    Best regards
    Blama

    Comment

    Working...
    X